PageSourceSearch

https://www.platekompaniet.no/AuthModal.df63fb9697a5c8493b93.js

js platekompaniet.no collected 2026-10-02 03:37:28 UTC 40,878 bytes, 98 lines download raw bytes

1/*! @version pwa-studio: 14.1.0, build-id: 1193379, @magento/venia-ui: ~11.5.0, @magento/pwa-theme-venia: ~2.4.0, @magento/pwa-buildpack: ~11.4.3, @magento/peregrine: ~14.4.1, @magento/pagebuilder: 9.3.2, @magento/eslint-config: ~1.5.0, @magento/babel-preset-peregrine: ~1.3.3, @apollo/client: ~3.5.0 */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{"280c":function(e,t,a){"use strict"
3var n=a("JPst"),o=a.n(n),s=a("HvQQ"),i=o()(function(e){return e[1]})
4i.i(s.a,"",!0),i.push([e.i,'.forgotPassword-root_modal-11V{right:0;top:100%;position:absolute;opacity:0;transition:opacity .25s ease;z-index:-1;width:auto;border-radius:4px 0 4px 4px;box-shadow:2px 2px 10px rgba(34,34,34,.1);background-color:#fff}.forgotPassword-root_modal_open-1_T{opacity:1;z-index:3}.forgotPassword-root_slidein-C5I{}.forgotPassword-root_slidein_open-1NH{overflow-y:auto}.forgotPassword-closeSlideInButton-s8w{position:absolute;top:18px;right:38px;width:44px;height:44px}.forgotPassword-closeSlideInButton-s8w:before{content:"x";font-family:"Platekompaniet-Icons";font-size:24px}.forgotPassword-contents-3n9{display:grid;gap:16px;min-height:100%}.forgotPassword-contents_open-1Yg{display:grid;gap:16px;min-height:100%}.forgotPassword-loading-2zj{padding:20px}@media(min-width: 48em){.forgotPassword-loading-2zj{width:380px}}.forgotPassword-root-D6A{display:block;position:relative;color:#333}.forgotPassword-closeSlideIn-3Wh{color:inherit;width:44px;height:44px;font-size:24px;font-weight:normal;grid-area:close;position:absolute;right:36px;top:16px}.forgotPassword-closeSlideIn-3Wh:before{content:"x";font-family:"Platekompaniet-Icons"}@media(min-width: 0em)and (max-width: 47.99em){.forgotPassword-title-1X5{display:none}}@media(min-width: 48em){.forgotPassword-title-1X5{text-align:center;font-size:20px;font-weight:800;font-style:italic;text-transform:uppercase;padding:24px 32px}}@media(min-width: 64em){.forgotPassword-title-1X5{padding:24px 48px}}.forgotPassword-body-10l{display:grid;gap:24px;padding:24px 24px}@media(min-width: 48em){.forgotPassword-body-10l{padding:24px 32px}}@media(min-width: 64em){.forgotPassword-body-10l{padding:24px 48px}}.forgotPassword-notice-2F4{font-size:15px;line-height:1.3}',""]),i.locals={root_modal:"forgotPassword-root_modal-11V",root_modal_open:"forgotPassword-root_modal_open-1_T forgotPassword-root_modal-11V",root_slidein:"forgotPassword-root_slidein-C5I "+s.a.locals.slideIn,root_slidein_open:"forgotPassword-root_slidein_open-1NH "+s.a.locals.slideIn_open,closeSlideInButton:"forgotPassword-closeSlideInButton-s8w",contents:"forgotPassword-contents-3n9",contents_open:"forgotPassword-contents_open-1Yg",loading:"forgotPassword-loading-2zj",root:"forgotPassword-root-D6A",closeSlideIn:"forgotPassword-closeSlideIn-3Wh",title:"forgotPassword-title-1X5",body:"forgotPassword-body-10l",notice:"forgotPassword-notice-2F4"},t.a=i},"4hUT":function(e,t,a){"use strict"
5var n=a("JPst"),o=a.n(n)()(function(e){return e[1]})
6o.push([e.i,".forgotPasswordForm-form-Rcw{display:grid;gap:30px}.forgotPasswordForm-buttonContainer-3xC{display:grid;gap:24px}.forgotPasswordForm-submitButton-wgf{padding:15px 1.5em;font-size:16px;background-color:#151515;color:#fff;border:1px solid rgba(0,0,0,0);border-radius:6px;box-shadow:0 2px 12px rgba(0,0,0,.12);text-align:center;order:-1;font-weight:700;font-family:var(--venia-font);transition-property:all;transition-duration:.3s;transition-timing-function:ease-in}@media(hover: hover){.forgotPasswordForm-submitButton-wgf:hover{background-color:#2a2a2a;color:#fff}}.forgotPasswordForm-submitButton-wgf:active,.forgotPasswordForm-submitButton-wgf:focus{background-color:#111;color:#fff;background-image:linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}.forgotPasswordForm-submitButton-wgf:focus{outline:none}.forgotPasswordForm-cancelButton-3e3{padding:15px 1.5em;font-size:16px;background-color:rgba(0,0,0,0);color:#151515;border:1px solid #151515;border-radius:6px;text-align:center;font-weight:700;font-family:var(--venia-font);transition-property:all;transition-duration:.3s;transition-timing-function:ease-in}.forgotPasswordForm-cancelButton-3e3:focus{outline:none}",""]),o.locals={form:"forgotPasswordForm-form-Rcw",buttonContainer:"forgotPasswordForm-buttonContainer-3xC",submitButton:"forgotPasswordForm-submitButton-wgf",cancelButton:"forgotPasswordForm-cancelButton-3e3"},t.a=o},"7qN8":function(e,t,a){"use strict"
7var n=a("q1tI"),o=a.n(n),s=a("17x9"),i=a("dDsW"),r=a("kriW"),c=a("55Ip"),l=a("TSYQ"),u=a.n(l),d=a("y1Xp"),m=a("kUrO"),p=a("LboF"),g=a.n(p),f=a("tOes"),b={insert:"head",singleton:!1},y=(g()(f.a,b),f.a.locals||{}),h=e=>{var{onSignOut:t}=e,a=(e=>{var{onSignOut:t}=e
8return{handleSignOut:Object(n.useCallback)(()=>{t()},[t]),menuItems:[{name:"Account Information",id:"accountMenu.accountInfoLink",url:"/account-information",iconClass:"ico__accountInformation"},{name:"Order History",id:"accountMenu.orderHistoryLink",url:"/order-history",iconClass:"ico__orderHistory"},{name:"Favorites Lists",id:"accountMenu.favoritesListsLink",url:"/wishlist",iconClass:"ico__favorites"},{name:"Communications",id:"accountMenu.communicationsLink",url:"/communications",iconClass:"ico__communications"},{name:"GDPR Information",id:"accountMenu.gdpr",url:"/account-gdpr",iconClass:"ico__gdpr"}]}})({onSignOut:t}),{handleSignOut:s,menuItems:l}=a,p=Object(d.a)(y,e.classes),{formatMessage:g}=Object(i.a)(),f=l.map(e=>o.a.createElement(c.b,{className:u()(p.link,p.icon,p[e.iconClass]),key:e.name,to:e.url},o.a.createElement(r.a,{id:e.id,defaultMessage:e.name})))
9return o.a.createElement("div",{className:p.root},o.a.createElement("h4",{className:p.title},o.a.createElement(m.a,{classes:{root:void 0},fallbackText:g({id:"accountMenuItems.titleUserFallback",defaultMessage:"Hi"})})),o.a.createElement("div",{className:p.menu},f),o.a.createElement("div",{className:p.signOutWrapper},o.a.createElement("button",{className:u()(p.icon,p.ico__logout,p.signOut),onClick:s,type:"button"},o.a.createElement(r.a,{id:"accountMenu.signOutButtonText",defaultMessage:"Sign Out"}))))}
10try{h.displayName="AccountMenuItems"}catch(e){}t.a=h
11h.propTypes={classes:Object(s.shape)({link:s.string,signOut:s.string}),onSignOut:s.func}},"I+K6":function(e,t,a){"use strict"
12var n=a("JPst"),o=a.n(n)()(function(e){return e[1]})
13o.push([e.i,".myAccount-root-s4p{display:grid;grid-auto-flow:row;row-gap:1.5rem}",""]),o.locals={root:"myAccount-root-s4p"},t.a=o},NKGN:function(e,t,a){"use strict"
14var n=a("JPst"),o=a.n(n),s=a("VQY6"),i=o()(function(e){return e[1]})
15i.i(s.a,"",!0),i.push([e.i,".authModal-root-3Jy{display:block}.authModal-createAccountActions-3iW{grid-auto-flow:row}.authModal-createAccountSubmitButton-2Aw{grid-column-start:auto}",""]),i.locals={root:"authModal-root-3Jy",createAccountActions:"authModal-createAccountActions-3iW "+s.a.locals.actions,createAccountSubmitButton:"authModal-createAccountSubmitButton-2Aw "+s.a.locals.submitButton},t.a=i},Rhlv:function(e,t,a){"use strict"
16var n,o,s,i,r=a("VkAN"),c=a.n(r),l=a("UYTu"),u=Object(l.d)(n||(n=c()(["\n    fragment AccountBusinessInformationPageFragment on Customer {\n        firstname\n        lastname\n        email\n        org_number\n        is_subscribed\n        addresses {\n            city\n            street\n            postcode\n            default_billing\n            default_shipping\n            telephone\n            company\n        }\n    }\n"]))),d=Object(l.d)(o||(o=c()(["\n    mutation CreateBusinessAccount(\n        $customer: CustomerCreateInput!\n        $delivery_address: CustomerAddressInput!\n        $invoice_address: CustomerAddressInput!\n        $consent: Boolean!\n    ) {\n        createB2bCustomer(\n            input: {\n                customer: $customer\n                delivery_address: $delivery_address\n                invoice_address: $invoice_address\n                consent: $consent\n            }\n        ) {\n            customer {\n                firstname\n                lastname\n                email\n                org_number\n                is_subscribed\n                consent\n            }\n            delivery_address {\n                id\n                region {\n                    region\n                    region_code\n                }\n                company\n                country_code\n                street\n                telephone\n                postcode\n                city\n                default_shipping\n                default_billing\n            }\n            invoice_address {\n                id\n                region {\n                    region\n                    region_code\n                }\n                company\n                country_code\n                street\n                telephone\n                postcode\n                city\n                default_shipping\n                default_billing\n            }\n        }\n    }\n"]))),m=Object(l.d)(s||(s=c()(["\n    mutation UpdateBusinessAccount(\n        $customer: CustomerUpdateInput!\n        $delivery_address: CustomerAddressInput!\n        $invoice_address: CustomerAddressInput\n        $consent: Boolean!\n    ) {\n        updateB2bCustomer(\n            input: {\n                customer: $customer\n                delivery_address: $delivery_address\n                invoice_address: $invoice_address\n                consent: $consent\n            }\n        ) {\n            customer {\n                firstname\n                lastname\n                email\n                org_number\n                is_subscribed\n                consent\n            }\n            delivery_address {\n                id\n                region {\n                    region\n                    region_code\n                }\n                company\n                country_code\n                street\n                telephone\n                postcode\n                city\n                default_shipping\n                default_billing\n            }\n            invoice_address {\n                id\n                region {\n                    region\n                    region_code\n                }\n                company\n                country_code\n                street\n                telephone\n                postcode\n                city\n                default_shipping\n                default_billing\n            }\n        }\n    }\n"]))),p=Object(l.d)(i||(i=c()(["\n    query GetCustomerInformation {\n        # eslint-disable-next-line @graphql-eslint/require-id-when-available\n        customer {\n            ...AccountBusinessInformationPageFragment\n        }\n    }\n    ","\n"])),u)
17t.a={createBusinessAccountMutation:d,updateBusinessAccountMutation:m,getCustomerInformation:p}},cen4:function(e,t,a){"use strict"
18var n=a("JPst"),o=a.n(n),s=a("280c"),i=o()(function(e){return e[1]})
19i.i(s.a,"",!0),i.push([e.i,".formSubmissionSuccessful-body-1A7{}.formSubmissionSuccessful-notice-1bu{}.formSubmissionSuccessful-title-2jS{}.formSubmissionSuccessful-closeSlideIn-1NE{}",""]),i.locals={body:"formSubmissionSuccessful-body-1A7 "+s.a.locals.body,notice:"formSubmissionSuccessful-notice-1bu "+s.a.locals.notice,title:"formSubmissionSuccessful-title-2jS "+s.a.locals.title,closeSlideIn:"formSubmissionSuccessful-closeSlideIn-1NE "+s.a.locals.closeSlideIn},t.a=i},kItZ:function(e,t,a){"use strict"
20var n=a("JPst"),o=a.n(n),s=a("sARL"),i=o()(function(e){return e[1]})
21i.i(s.a,"",!0),i.push([e.i,".createAccount-root-1Hd {\n}\n\n.createAccount-message-2Cz {\n}\n\n.createAccount-actions-1Le {\n}\n\n.createAccount-cancelButton-2WE {\n}\n\n.createAccount-submitButton-qqG {\n}\n\n.createAccount-subscribe-2Re {\n}\n",""]),i.locals={root:"createAccount-root-1Hd gap-xs grid justify-items-stretch px-sm py-xs",message:"createAccount-message-2Cz bg-subtle leading-tight p-xs rounded text-sm empty_hidden",actions:"createAccount-actions-1Le gap-xs grid grid-flow-row justify-center mt-xs text-center lg_grid-flow-col",cancelButton:"createAccount-cancelButton-2WE "+s.a.locals.root_lowPriority,submitButton:"createAccount-submitButton-qqG "+s.a.locals.root_highPriority+" col-start-auto lg_col-start-2",subscribe:"createAccount-subscribe-2Re -ml-1.5"},t.a=i},kPoi:function(e,t,a){"use strict"
22var n=a("JPst"),o=a.n(n),s=a("kItZ"),i=a("sARL"),r=o()(function(e){return e[1]})
23r.i(s.a,"",!0),r.i(i.a,"",!0),r.push([e.i,".authModal-root-iNJ {\n}\n\n.authModal-createAccountActions-3jt {\n}\n\n.authModal-createAccountSubmitButton-awy {\n}\n",""]),r.locals={root:"authModal-root-iNJ block",createAccountActions:"authModal-createAccountActions-3jt "+s.a.locals.actions+" grid-flow-row",createAccountSubmitButton:"authModal-createAccountSubmitButton-awy "+i.a.locals.root_highPriority+" col-start-auto"},t.a=r},kjOi:function(e,t,a){"use strict"
24var n=a("lSNA"),o=a.n(n),s=a("q1tI"),i=a.n(s),r=a("dDsW"),c=a("kriW"),l=a("8UhI"),u=a("17x9"),d=a("QILm"),m=a.n(d),p=a("yXPU"),g=a.n(p),f=a("6OIj"),b=a("pZLH"),y=a("y1Xp"),h=a("FITH"),v=a("Cm1V"),O=a("97VA"),w=a("mWbe"),C=a("MsnC"),_=a("qS+w"),P=["email","firstName","lastName"]
25function ownKeys(e,t){var a=Object.keys(e)
26if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
27t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{}
28t%2?ownKeys(Object(a),!0).forEach(function(t){o()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var k=e=>{var{initialValues:t={},onSubmit:a,onCancel:n}=e,o=Object(y.a)(_.a,e.operations),{createBusinessAccountMutation:i,createCartMutation:r,getCartDetailsQuery:c,getCustomerQuery:l,mergeCartsMutation:u,signInMutation:d}=o,p=Object(f.a)(),[k,A]=Object(s.useState)(!1),[{cartId:M},{createCart:x,removeCart:I,getCartDetails:j}]=Object(v.b)(),[{isGettingDetails:S,isSignedIn:E},{getUserDetails:B,setToken:N}]=Object(h.b)(),[T]=Object(b.a)(r),[D]=Object(b.a)(u),[F,{error:R}]=Object(b.a)(i,{fetchPolicy:"no-cache"}),[L,{error:z}]=Object(b.a)(d,{fetchPolicy:"no-cache"}),q=Object(O.a)(l),U=Object(O.a)(c),{generateReCaptchaData:W,recaptchaLoading:H,recaptchaWidgetProps:V}=Object(C.a)({currentForm:"CUSTOMER_CREATE",formAction:"createBusinessAccount"}),K=Object(s.useCallback)(()=>{n()},[n]),Z=Object(s.useCallback)(function(){var e=g()(function*(e){var{customer:t}=e
29A(!0)
30try{var n=M,{organizationNumber:o,companyName:s,firstName:i,lastName:r,email:c,password:l,mobileNumber:u,deliveryAddressLine1:d,deliveryAddressLine2:m,deliveryZipCode:g,deliveryCity:f,invoiceRecipientName:b,invoiceAddressLine1:y,invoiceAddressLine2:h,invoiceAddressZipCode:v,invoiceAddressCity:O,subscribe:C,terms:_}=t,P={firstname:i,lastname:r,email:c,password:l,org_number:o,is_subscribed:C},k={street:[d],telephone:u,postcode:g,city:f,firstname:i,lastname:r,company:s}
31m&&k.street.push(m)
32var S={street:y?[y]:k.street,telephone:u,postcode:v||g,city:O||f,firstname:i,lastname:r,company:b||s}
33h&&S.street.push(h)
34var E=yield W(),R=JSON.parse(JSON.stringify(t))
35yield F(_objectSpread({variables:{customer:P,delivery_address:k,invoice_address:S,consent:_}},E))
36var z=yield W(),H=(yield L(_objectSpread({variables:{email:c,password:l}},z))).data.generateCustomerToken.token
37yield N(H),yield p.clearCacheData(p,"cart"),yield p.clearCacheData(p,"customer"),yield I(),yield x({fetchCartId:T})
38var V=yield Object(w.retrieveCartId)()
39yield D({variables:{destinationCartId:V,sourceCartId:n}}),yield B({fetchUserDetails:q}),yield j({fetchCartId:T,fetchCartDetails:U}),a&&a(R)}catch(e){0,A(!1)}})
40return function(t){return e.apply(this,arguments)}}(),[M,W,F,L,N,p,I,x,T,D,B,q,j,U,a]),J=Object(s.useMemo)(()=>{var{email:e,firstName:a,lastName:n}=t
41return _objectSpread({customer:{email:e,firstname:a,lastname:n}},m()(t,P))},[t])
42return{errors:Object(s.useMemo)(()=>new Map([["createBusinessAccountQuery",R],["signInMutation",z]]),[R,z]),handleCancel:K,handleSubmit:Z,initialValues:J,isDisabled:k||S||H,recaptchaWidgetProps:V,isSignedIn:E}},A=a("HTR8"),M=a("rbFJ"),x=a("m/Co"),I=a("KBbz"),j=a("aWBp"),S=a("dTQg"),E=a("qsbg"),B=a("Hqt8"),N=a("7nMi"),T=a("zl1T"),D=a("Rhlv")
43function createBusinessAccount_ownKeys(e,t){var a=Object.keys(e)
44if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
45t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function createBusinessAccount_objectSpread(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{}
46t%2?createBusinessAccount_ownKeys(Object(a),!0).forEach(function(t){o()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):createBusinessAccount_ownKeys(Object(a)).forEac
46h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var F=e=>{var t=Object(y.a)(T.a,e.classes),{isCancelButtonHidden:a,initialValues:n,onSubmit:o,onCancel:u}=e,d=k({initialValues:n,onSubmit:o,onCancel:u,operations:createBusinessAccount_objectSpread({},D.a)}),{errors:m,handleCancel:p,handleSubmit:g,isDisabled:f,initialValues:b,recaptchaWidgetProps:h}=d,{formatMessage:v}=Object(r.a)(),[O,w]=Object(s.useState)(!0),C=Object(s.useCallback)(()=>{w(e=>!e)},[]),_=a?null:i.a.createElement(x.a,{className:t.cancelButton,disabled:f,type:"button",priority:"low",onClick:p},i.a.createElement(c.a,{id:"createBusinessAccount.cancelButtonText",defaultMessage:"Cancel"})),P=i.a.createElement(x.a,{className:t.submitButton,disabled:f,type:"submit",priority:"high"},i.a.createElement(c.a,{id:"businessAccount.submitButtontext",defaultMessage:"Save changes"}))
47return i.a.createElement(l.b,{className:t.root,initialValues:b,onSubmit:g},i.a.createElement("h2",{className:t.title},i.a.createElement(c.a,{id:"createBusinessAccount.createBusinessAccountText",defaultMessage:"Create Business Account"})),i.a.createElement(S.a,{errors:Array.from(m.values())}),i.a.createElement(I.a,{label:v({id:"customer.organizationNumberText",defaultMessage:"Organization number"}),id:"customer.organizationNumber"},i.a.createElement(j.a,{field:"customer.organizationNumber",autoComplete:"organization-number",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.organizationNumber"})),i.a.createElement(I.a,{label:v({id:"customer.companyNameText",defaultMessage:"Company name"}),id:"customer.companyName"},i.a.createElement(j.a,{field:"customer.companyName",autoComplete:"company-name",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.companyName"})),i.a.createElement(I.a,{label:v({id:"customer.firstNameText",defaultMessage:"First name"}),id:"customer.firstName"},i.a.createElement(j.a,{field:"customer.firstName",autoComplete:"given-name",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.firstName"})),i.a.createElement(I.a,{label:v({id:"customer.lastNameText",defaultMessage:"Last name"}),id:"customer.lastName"},i.a.createElement(j.a,{field:"customer.lastName",autoComplete:"family-name",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.lastName"})),i.a.createElement(I.a,{label:v({id:"customer.emailText",defaultMessage:"Email"}),id:"customer.email"},i.a.createElement(j.a,{field:"customer.email",autoComplete:"email",validate:Object(A.a)([M.d,M.e]),validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.email"})),i.a.createElement(E.a,{autoComplete:"new-password",fieldName:"customer.password",isToggleButtonHidden:!1,label:v({id:"customer.passwordText",defaultMessage:"Password"}),validate:Object(A.a)([M.d,[M.a,8],M.f]),validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0}),i.a.createElement(I.a,{label:"".concat(v({id:"customer.mobileNumberText",defaultMessage:"Mobile number"}),":"),classes:{root:t.field},id:"customer.mobileNumber"},i.a.createElement(j.a,{field:"customer.mobileNumber",autoComplete:"tel",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.mobileNumber"})),i.a.createElement(I.a,{label:v({id:"customer.deliveryAddressLine1Text",defaultMessage:"Delivery address line 1"}),id:"customer.deliveryAddressLine1"},i.a.createElement(j.a,{field:"customer.deliveryAddressLine1",autoComplete:"deliver-address-line1",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.deliveryAddressLine1"})),i.a.createElement(I.a,{label:v({id:"customer.deliveryAddressLine2Text",defaultMessage:"Delivery address line 2"}),optional:!0,id:"customer.deliveryAddressLine2"},i.a.createElement(j.a,{field:"customer.deliveryAddressLine2",autoComplete:"deliver-address-line2",mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.deliveryAddressLine2"})),i.a.createElement(I.a,{label:v({id:"customer.deliveryZipCodeText",defaultMessage:"Delivery zip"}),id:"customer.deliveryZipCode"},i.a.createElement(j.a,{field:"customer.deliveryZipCode",autoComplete:"delivery-zip-code",formatter:[/\d/,/\d/,/\d/,/\d/],validate:Object(A.a)([M.d,[M.b,4]]),val
47idateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.deliveryZipCode"})),i.a.createElement(I.a,{label:v({id:"customer.deliveryCityText",defaultMessage:"Delivery city"}),id:"customer.deliveryCity"},i.a.createElement(j.a,{field:"customer.deliveryCity",autoComplete:"delivery-city",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.deliveryCity"})),i.a.createElement(N.a,{field:"customer.invoiceAddressAsDeliveryAddress",onChange:C,label:v({id:"customer.invoiceAddressAsDeliveryAddressText",defaultMessage:"Same invoice address as delivery address"})}),O&&i.a.createElement(i.a.Fragment,null,i.a.createElement(I.a,{label:v({id:"customer.invoceRecipientNameText",defaultMessage:"Invoce recipient name"}),id:"customer.invoiceRecipientName"},i.a.createElement(j.a,{field:"customer.invoiceRecipientName",autoComplete:"invoice-recipient-name",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.invoiceRecipientName"})),i.a.createElement(I.a,{label:v({id:"customer.invoiceAddressLine1Text",defaultMessage:"Invoice address line 1"}),id:"customer.invoiceAddressLine1"},i.a.createElement(j.a,{field:"customer.invoiceAddressLine1",autoComplete:"invoice-address-lin1",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.invoiceAddressLine1"})),i.a.createElement(I.a,{label:v({id:"customer.invoiceAddressLine2Text",defaultMessage:"Invoice address line 2"}),optional:!0,id:"customer.invoiceAddressLine2"},i.a.createElement(j.a,{field:"customer.invoiceAddressLine2",autoComplete:"invoice-address-lin2",mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.invoiceAddressLine2"})),i.a.createElement(I.a,{label:v({id:"customer.invoiceAddressZipCodeText",defaultMessage:"Invoice address zip"}),id:"customer.invoiceAddressZipCode"},i.a.createElement(j.a,{field:"customer.invoiceAddressZipCode",autoComplete:"invoice-address-zip-code",formatter:[/\d/,/\d/,/\d/,/\d/],validate:Object(A.a)([M.d,[M.b,4]]),val
47idateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.invoiceAddressZipCode"})),i.a.createElement(I.a,{label:v({id:"customer.invoiceAddressCityText",defaultMessage:"Invoice address city"}),id:"customer.invoiceAddressCity"},i.a.createElement(j.a,{field:"customer.invoiceAddressCity",autoComplete:"invoice-address-city",validate:M.d,validateOnBlur:!0,mask:e=>e&&e.trim(),maskOnBlur:!0,id:"customer.invoiceAddressCity"}))),i.a.createElement(N.a,{field:"customer.subscribe",label:v({id:"customer.subscribeText",defaultMessage:"I want to recive newsletters"})}),i.a.createElement(N.a,{field:"customer.terms",label:v({id:"customer.termsText",defaultMessage:"I accept the Terms of Use"}),validate:M.d,validateOnBlur:!0}),i.a.createElement(B.a,h),i.a.createElement("div",{className:t.actions},P,_))}
48try{F.displayName="CreateBusinessAccount"}catch(e){}F.propTypes={classes:Object(u.shape)({actions:u.string,lead:u.string,root:u.string,subscribe:u.string}),initialValuesProps:Object(u.shape)({email:u.string,firstName:u.string,lastName:u.string}),isCancelButtonHidden:u.bool,onSubmit:u.func,onCancel:u.func},F.defaultProps={onCancel:()=>{},isCancelButtonHidden:!0}
49t.a=F},sPu6:function(e,t,a){"use strict"
50var n=a("lSNA"),o=a.n(n),s=a("q1tI"),i=a.n(s),r=a("/kEZ"),c=a.n(r),l=a("dDsW"),u=a("kriW"),d=a("17x9"),m=a("s/Ur"),p=a("yXPU"),g=a.n(p),f=a("pZLH"),b=a("MsnC"),y=a("hFuW")
51function ownKeys(e,t){var a=Object.keys(e)
52if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
53t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}var h=e=>{var{onCancel:t,mutations:a}=e,[n,i]=Object(s.useState)(!1),[r,c]=Object(s.useState)(null),l=Object(m.useMediaQuery)(y.a.mobileNavigationBreakpoint),[u,{error:d,loading:p}]=Object(f.a)(a.requestPasswordResetEmailMutation),h=Object(s.useRef)(null),v=Object(s.useCallback)(e=>h.current=e,[]),{recaptchaLoading:O,generateReCaptchaData:w,recaptchaWidgetProps:C}=Object(b.a)({currentForm:"CUSTOMER_FORGOT_PASSWORD",formAction:"forgotPassword"}),_=Object(s.useCallback)(function(){var e=g()(function*(e){var{email:t}=e||h.current.getValues()
54try{var a=yield w()
55yield u(function _objectSpread(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{}
56t%2?ownKeys(Object(a),!0).forEach(function(t){o()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({variables:{email:t}},a)),c(t),i(!0)}catch(e){i(!1)}})
57return function(t){return e.apply(this,arguments)}}(),[w,u]),P=Object(s.useCallback)(()=>{t()},[t]),k=Object(s.useCallback)(e=>{var t,a
58"Enter"===e.key&&(e.preventDefault(),h.current.validate(),Object.keys(null!==(t=null===(a=h.current.getState())||void 0===a?void 0:a.errors)&&void 0!==t?t:{}).length||_())},[_])
59return{forgotPasswordEmail:r,formErrors:[d],handleCancel:P,handleFormSubmit:_,hasCompleted:n,isMobileView:l,isResettingPassword:p||O,recaptchaWidgetProps:C,setFormApi:v,handleEnterKeyPress:k}},v=a("dTQg"),O=a("y1Xp"),w=a("8UhI"),C=a("HTR8"),_=a("rbFJ"),P=a("m/Co"),k=a("KBbz"),A=a("Hqt8"),M=a("aWBp"),x=a("LboF"),I=a.n(x),j=a("4hUT"),S={insert:"head",singleton:!1},E=(I()(j.a,S),j.a.locals||{}),B=e=>{var t=Object(O.a)(E,e.classes),{initialValues:a,isResettingPassword:n,onSubmit:o,onCancel:s,recaptchaWidgetProps:r,setFormApi:c,handleEnterKeyPress:d,showPlaceholders:m}=e,{formatMessage:p}=Object(l.a)()
60return i.a.createElement(w.b,{className:t.form,initialValues:a,onSubmit:o,getApi:c},i.a.createElement(k.a,{id:"email",label:"".concat(p({id:"signIn.emailAddressText",defaultMessage:"Your e-mail"}),":")},i.a.createElement(M.a,{id:"email",autoComplete:"email",field:"email",inputMode:"email",validate:Object(C.a)([_.d,_.e]),placeholder:m?p({id:"E-mail address",defaultMessage:"E-mail address"}):"",validateOnBlur:!0,mask:e=>null==e?void 0:e.trim(),maskOnBlur:!0,"aria-label":p({id:"global.emailRequired",defaultMessage:"Email Required"})})),i.a.createElement(A.a,r),i.a.createElement("div",{className:t.buttonContainer},i.a.createElement(P.a,{className:t.cancelButton,disabled:n,type:"button",priority:"normal",onPress:s},i.a.createElement(u.a,{id:"forgotPasswordForm.cancelButtonText",defaultMessage:"Cancel"}
60)),i.a.createElement(P.a,{className:t.submitButton,disabled:n,type:"submit",priority:"high",onKeyDown:d},i.a.createElement(u.a,{id:"forgotPasswordForm.submitButtonText",defaultMessage:"Submit"}))))}
61try{B.displayName="ForgotPasswordForm"}catch(e){}B.propTypes={classes:Object(d.shape)({form:d.string,buttonContainer:d.string,cancelButton:d.string,submitButton:d.string}),initialValues:Object(d.shape)({email:d.string}),isResettingPassword:d.bool,onCancel:d.func.isRequired,onSubmit:d.func.isRequired,showPlaceholders:d.bool},B.defaultProps={initialValues:{},isResettingPassword:!1}
62var N=B,T=a("cen4"),D={insert:"head",singleton:!1},F=(I()(T.a,D),T.a.locals||{}),R=e=>{var{email:t,handleClose:a,isSlideInType:n}=e,{formatMessage:o}=Object(l.a)(),s=Object(O.a)(F,e.classes),r=Object(m.useMediaQuery)(y.a.headerHiddenBreakpoint),c=o({id:"formSubmissionSuccessful.textMessage",defaultMessage:"If there is an account associated with {email} you will receive an email with a link to change your password."},{email:t})
63return i.a.createElement("div",null,n&&i.a.createElement("button",{onClick:a,className:s.closeSlideIn,"aria-label":o({id:"accountMenu.close",defaultMessage:"Click to close the login modal"})}),!r&&i.a.createElement("h2",{className:s.title},i.a.createElement(u.a,{id:"formSubmissionSuccessful.recoverPasswordText",defaultMessage:"Recover Password"})),i.a.createElement("div",{className:s.body},i.a.createElement("p",{className:s.notice},c)))}
64try{R.displayName="FormSubmissionSuccessful"}catch(e){}var L=R
65R.defaultProps={handleClose:()=>{}},R.propTypes={classes:Object(d.shape)({notice:d.string,root:d.string,title:d.string}),email:d.string,handleClose:d.func,isSlideInType:d.bool}
66var z={queries:{},mutations:{requestPasswordResetEmailMutation:{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"requestPasswordResetEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"requestPasswordResetEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}}],directives:[]}]}}],loc:{start:0,end:114,source:{body:"\n    mutation requestPasswordResetEmail($email: String!) {\n        requestPasswordResetEmail(email: $email)\n    }\n",name:"GraphQL request",locationOffset:{line:1,column:1}}}}}},q=a("280c"),U={insert:"head",singleton:!1},W=(I()(q.a,U),q.a.locals||{})
67function forgotPassword_ownKeys(e,t){var a=Object.keys(e)
68if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
69t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}var H=e=>{var{allowErrorMessages:t=!1,initialValues:a,onCancel:n,isSlideInType:s,handleCloseDrawer:r,showPlaceholders:d}=e,{formatMessage:p}=Object(l.a)(),g=h(function forgotPassword_objectSpread(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{}
70t%2?forgotPassword_ownKeys(Object(a),!0).forEach(function(t){o()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):forgotPassword_ownKeys(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({onCancel:n},z)),{forgotPasswordEmail:f,formErrors:b,handleCancel:w,handleFormSubmit:C,hasCompleted:_,isMobileView:P,isResettingPassword:k,recaptchaWidgetProps:A,setFormApi:M,handleEnterKeyPress:x}=g,I=Object(m.useMediaQuery)(y.a.headerHiddenBreakpoint),j=Object(O.a)(W,e.classes),S=p({id:"forgotPassword.instructions",defaultMessage:"Enter your e-mail below to receive a password reset link."}),E=_?i.a.createElement(L,{email:f,handleCancel:w,handleClose:r,handleFormSubmit:C,isSlideInType:s}):i.a.createElement("div",{className:j.root},s&&i.a.createElement("button",{onClick:r,className:j.closeSlideIn,"aria-label":p({id:"accountMenu.close",defaultMessage:"Click to close the login modal"})}),!I&&i.a.createElement("h2",{className:j.title},i.a.createElement(u.a,{id:"forgotPassword.recoverPasswordText",defaultMessage:"Forgot password?"})),i.a.createElement("div",{className:j.body}
70,i.a.createElement("p",{className:j.notice},S),i.a.createElement(N,{initialValues:a,isResettingPassword:k,onSubmit:C,onCancel:w,recaptchaWidgetProps:A,setFormApi:M,handleEnterKeyPress:x,showPlaceholders:d}),i.a.createElement(v.a,{classes:{root:j.errorMessage},errors:b,allowErrorMessages:t})))
71return i.a.createElement(i.a.Fragment,null,i.a.createElement(c.a,{active:!0,focusTrapOptions:{clickOutsideDeactivates:!0,fallbackFocus:".".concat(j.wrapper),returnFocusOnDeactivate:!0,escapeDeactivates:!0,initialFocus:!P}},E))}
72try{H.displayName="ForgotPassword"}catch(e){}t.a=H
73H.propTypes={allowErrorMessages:d.bool,classes:Object(d.shape)({notice:d.string,root:d.string,body:d.string,title:d.string,closeSlideIn:d.string}),initialValues:Object(d.shape)({email:d.string}),onCancel:d.func,showPlaceholders:d.bool},H.defaultProps={onCancel:()=>{}}},tOes:function(e,t,a){"use strict"
74var n=a("JPst"),o=a.n(n)()(function(e){return e[1]})
75o.push([e.i,'@media(min-width: 90em){.accountMenuItems-root-2Df{width:333px;padding:30px 20px 20px 23px;overflow:hidden}}.accountMenuItems-title-UZT{height:212px;display:grid;align-content:center;text-align:center;color:#fff;font-size:32px;font-weight:700;padding:0 24px;margin-bottom:16px;background-size:100% auto;background-repeat:no-repeat;background-position:50% 0;background-color:#222;position:relative;z-index:1}@media(min-width: 48em){.accountMenuItems-title-UZT{height:450px}}@media(min-width: 64em){.accountMenuItems-title-UZT{height:350px}}@media(min-width: 90em){.accountMenuItems-title-UZT{height:auto;display:block;text-align:left;font-size:24px;color:#222;padding:0;margin-bottom:14px;background:none}}.accountMenuItems-menu-lc2{padding:0 23px 0 27px}@media(min-width: 90em){.accountMenuItems-menu-lc2{padding:0;margin-left:7px;border-bottom:1px solid rgba(0,0,0,.1)}}.accountMenuItems-link-374{display:block;min-width:100%;font-size:15px;text-align:left;position:relative;font-weight:400;line-height:1.4;padding:16px 40px 16px 35px;color:#151515;text-decoration:none;border-bottom:1px solid rgba(0,0,0,.1)}@media(min-width: 90em){.accountMenuItems-link-374{padding:16px 40px 16px 56px;margin:0 -20px 0 -30px;font-weight:400;border-bottom:0}}@media(hover: hover){.accountMenuItems-link-374:hover{background-color:#f6f5f4}}.accountMenuItems-link_active-29c{background-color:#f6f5f4}.accountMenuItems-signOutWrapper-1e6{padding:0 23px 0 27px}@media(min-width: 90em){.accountMenuItems-signOutWrapper-1e6{padding:0;margin:0 -20px 0 -23px}}.accountMenuItems-signOut-CpL{display:block;min-width:100%;font-size:15px;text-align:left;position:relative;font-weight:400;line-height:1.4;padding:16px 40px 16px 35px;color:#151515;text-decoration:none}@media(min-width: 90em){.accountMenuItems-signOut-CpL{padding:16px 40px 16px 56px;font-weight:400}}@media(hover: hover){.accountMenuItems-signOut-CpL:hover{background-color:#f6f5f4}}.accountMenuItems-icon-3Cr:before{content:"";font-family:"Platekompaniet-Icons";display:block;position:absolute;top:50%;left:0;transform:translateY(-50%);font-size:20px}@media(min-width: 90em){.accountMenuItems-icon-3Cr:before{content:"";font-family:"Platekompaniet-Icons";display:block;position:absolute;top:50%;left:25px;transform:translateY(-50%);font-size:20px}}.accountMenuItems-ico__logout-zuS:before{content:"l";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__orderHistory-14m:before{content:"b";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__addressBook-14e:before{content:"l";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__savedPayments-3ec:before{content:"r";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__communications-3mc:before{content:"e";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__accountInformation-18S:before{content:"i";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__editProfile-2If:before{content:"E";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__subscriptions-3Hg:before{content:"e";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__gdpr-2Ni:before{content:"C";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__favorites-31_:before{content:"h";font-family:"Platekompaniet-Icons"}.accountMenuItems-ico__accountHelp-lxW:before{content:"i";font-family:"Platekompaniet-Icons"}',""]),o.locals={root:"accountMenuItems-root-2Df",title:"accountMenuItems-title-UZT",menu:"accountMenuItems-menu-lc2",link:"accountMenuItems-link-374",link_active:"accountMenuItems-link_active-29c",signOutWrapper:"accountMenuItems-signOutWrapper-1e6",signOut:"accountMenuItems-signOut-CpL",icon:"accountMenuItems-icon-3Cr",ico__logout:"accountMenuItems-ico__logout-zuS",ico__orderHistory:"accountMenuItems-ico__orderHistory-14m",ico__addressBook:"accountMenuItems-ico__addressBook-14e",ico__savedPayments:"accountMenuItems-ico__savedPayments-3ec",ico__communications:"accountMenuItems-ico__communications-3mc",ico__accountInformation:"accountMenuItems-ico__accountInformation-18S",ico__editProfile:"accountMenuItems-ico__editProfile-2If",ico__subscriptions:"accountMenuItems-ico__subscriptions-3Hg",ico__gdpr:"accountMenuItems-ico__gdpr-2Ni",ico__favorites:"accountMenuItems-ico__favorites-31_",ico__accountHelp:"accountMenuItems-ico__accountHelp-lxW"},t.a=o}
75,"y/e4":function(e,t,a){"use strict"
76a.r(t)
77var n,o=a("iBQN"),s=a("q1tI"),i=a.n(s),r=a("17x9"),c=a("yXPU"),l=a.n(c),u=a("Ty5D"),d=a("pZLH"),m=a("y1Xp"),p=a("FITH"),g=a("Cess"),f=a("VkAN"),b=a.n(f),y=a("UYTu"),h={signOutMutation:Object(y.d)(n||(n=b()(["\n    mutation SignOutFromModal {\n        revokeSingleCustomerToken {\n            result\n        }\n    }\n"])))},v=["CREATE_ACCOUNT","CREATE_B2B_ACCOUNT","FORGOT_PASSWORD","SIGN_IN"],O=a("Qazu"),w=a("kjOi"),C=a("sPu6"),_=a("OlZo"),P=a("7qN8"),k=a("LboF"),A=a.n(k),M=a("I+K6"),x={insert:"head",singleton:!1},I=(A()(M.a,x),M.a.locals||{}),j=e=>{var{classes:t,onSignOut:a,onClose:n}=e,o=Object(m.a)(I,t),r=(e=>{var{onSignOut:t}=e,[,{closeDrawer:a}]=Object(_.b)(),n=Object(u.h)(),o=Object(s.useRef)(!1),i=Object(s.useCallback)(()=>{a(),t()},[a,t])
78return Object(s.useEffect)(()=>{o.current?a():o.current=!0},[a,n.key]),{handleSignOut:i}})({onSignOut:a,onClose:n}),{handleSignOut:c,handleClose:l}=r
79return i.a.createElement("div",{className:o.root},i.a.createElement(P.a,{onSignOut:c,onClose:l}))}
80try{j.displayName="MyAccount"}catch(e){}var S=j
81j.propTypes={classes:Object(r.shape)({actions:r.string,root:r.string,subtitle:r.string,title:r.string,user:r.string}),onSignOut:r.func.isRequired}
82var E=a("8S9g"),B=a("kPoi"),N={injectType:"singletonStyleTag",insert:"head",singleton:!0},T=(A()(B.a,N),B.a.locals||{}),D=e=>{var{handleCancel:t,handleCreateAccount:a,handleCreateBusinessAccount:n,handleSignOut:o,setUsername:r,showCreateAccount:c,showCreateBusinessAccount:f,showForgotPassword:b,showMyAccount:y,username:_}=(e=>{var{closeDrawer:t,showCreateAccount:a,showCreateBusinessAccount:n,showForgotPassword:o,showMainMenu:i,showMyAccount:r,showSignIn:c,view:f}=e,b=Object(m.a)(h,e.operations),{signOutMutation:y}=b,[O,w]=Object(s.useState)(!1),[C,_]=Object(s.useState)(""),[{currentUser:P,isSignedIn:k},{signOut:A}]=Object(p.b)(),[M]=Object(d.a)(y),x=Object(u.g)(),[,{dispatch:I}]=Object(g.b)()
83Object(s.useEffect)(()=>{P&&P.email&&v.includes(f)&&r()},[P,r,f]),Object(s.useEffect)(()=>{k||"MY_ACCOUNT"!==f||O||i()},[k,O,i,f])
84var j=Object(s.useCallback)(()=>{i(),t()},[t,i])
85return{handleCancel:Object(s.useCallback)(()=>{c()},[c]),handleClose:j,handleCreateAccount:Object(s.useCallback)(()=>{r()},[r]),handleCreateBusinessAccount:Object(s.useCallback)(()=>{r()},[r]),handleSignOut:Object(s.useCallback)(l()(function*(){w(!0),I({type:"USER_SIGN_OUT",payload:P}),yield A({revokeToken:M}),x.go(0)}),[x,M,A,I,P]),setUsername:_,showCreateAccount:a,showCreateBusinessAccount:n,showForgotPassword:o,showMyAccount:r,username:C,dispatch:I,currentUser:P}})(e),P=Object(m.a)(T,e.classes),k=null
86switch(e.view){case"CREATE_ACCOUNT":k=i.a.createElement(O.a,{classes:{actions:P.createAccountActions,submitButton:P.createAccountSubmitButton},initialValues:{email:_},isCancelButtonHidden:!0,onSubmit:a,onCancel:t})
87break
88case"CREATE_B2B_ACCOUNT":k=i.a.createElement(w.a,{classes:{actions:P.createAccountActions,submitButton:P.createAccountSubmitButton},initialValues:{email:_},isCancelButtonHidden:!0,onSubmit:n,onCancel:t})
89break
90case"FORGOT_PASSWORD":k=i.a.createElement(C.a,{initialValues:{email:_},onCancel:t})
91break
92case"MY_ACCOUNT":k=i.a.createElement(S,{onSignOut:o})
93break
94case"SIGN_IN":default:k=i.a.createElement(E.a,{setDefaultUsername:r,showCreateAccount:c,showCreateBusinessAccount:f,showForgotPassword:b,showMyAccount:y})}return i.a.createElement("div",{className:P.root},k)}
95try{D.displayName="AuthModal"}catch(e){}var F=D
96D.propTypes={classes:Object(r.shape)({root:r.string}),closeDrawer:r.func.isRequired,showCreateAccount:r.func.isRequired,showForgotPassword:r.func.isRequired,showMyAccount:r.func.isRequired,showCreateBusinessAccount:r.func.isRequired,showMainMenu:r.func.isRequired,showSignIn:r.func.isRequired,view:r.string}
97var R=a("NKGN"),L={insert:"head",singleton:!1},z=(A()(R.a,L),R.a.locals||{})
98t.default=Object(o.a)(z)(F)}}])

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.