1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1853],{10879:(e,t,r)=>{"use strict";r.d(t,{u:()=>n});let n=Object.freeze({Recommendation:"recommendation",ProductListingPage:"plp",ProductDisplayPage:"pdp",SearchDropdown:"search_dropdown",ShoppingList:"shopping_list",Reorder:"reorder",Quantity:"quantity",Other:"other"})},19147:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(95155),o=r(6874),i=r.n(o);r(12115);var a=r(3470),s=r(90189);let l=e=>{let{prefetch:t,children:r,onClick:o,...l}=e,{clickHandlerEntry:c}=(0,a.z)(),{trackingLocationData:u,enableCampaignSourceTracking:d}=(0,s.default)();return(0,n.jsx)(i(),{...l,prefetch:null!=t&&t,onClick:e=>{d&&c(e,u),"function"==typeof o&&o(e)},children:r})}},34844:(e,t,r)=>{Promise.resolve().then(r.bind(r,86163))},51880:(e,t,r)=>{"use strict";r.d(t,{To:()=>n,ok:()=>o}),r(55645),r(49509);let n=async(e,t,r,n,o)=>{try{if(!e)throw Error("queryClientCP Call error: Missing query.");if(!window)throw Error("queryClientCP Call error: Unable to access window component. Make sure you're calling it on client component. This function is not meant be used on server components.");
1let i=await fetch(new URL(null!=o?o:"/api/graphqlProxy",window.location.origin).href+(n?"?bypassCache=true":""),{headers:{"Content-Type":"application/json",...t},body:JSON.stringify({query:e,variables:r}),method:"POST",...n?{cache:"no-cache"}:{}});return await i.json()}catch(e){console.error("[Error From queryClientCP]: ".concat(e))}},o=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/api/graphqlFileUpload";try{if(!window)throw Error("queryClientCP Call error: Unable to access window component. Make sure you're calling it on client component. This function is not meant to be used on server components.");let r=new URL(t,window.location.origin).href,n=await fetch(r,{headers:{"GraphQL-Preflight":"true"},body:e,method:"POST"});if(!n.ok)throw console.error("Error: ".concat(n.status," ").concat(n.statusText)),Error("Network response was not ok");return await n.json()}catch(e){throw console.error("[Error From queryClientCP]: ".concat(e)),e}}},55645:(e,t,r)=>{"use strict";r.d(t,{$K:()=>s,Mm:()=>c,Pe:()=>i,Re:()=>u,XZ:()=>n,b7:()=>a,o1:()=>l,oQ:()=>o});let n={PageSize:50,OrderSize:10},o={OrderDiscount:"OrderDiscount",DiscountedProductPrice:"DiscountedProductPrice",ProductDiscount:"ProductDiscount",BuyXGetCheapestDiscount:"BuyXGetCheapestDiscount",BuyXGetMostExpensiveDiscount:"BuyXGetMostExpensiveDiscount",MixAndMatch:"MixAndMatch",FreeGift:"FreeGift",FreeDelivery:"FreeDelivery"},i={Inline:"INLINE",DeliveryCheckout:"DELIVERY_CHECKOUT",PaymentCheckout:"PAYMENT_CHECKOUT"},a={IframeCheckout:"IFRAME_CHECKOUT",PaymentWidgets:"PAYMENT_WIDGETS",DirectPayment:"DIRECT_PAYMENT",HostedPaymentPage:"HOSTED_PAYMENT_PAGE",PaymentApp:"PAYMENT_APP",PaymentLink:"PAYMENT_LINK",QuickCheckoutButton:"QUICK_CHECKOUT_BUTTON",GiftCard:"GIFT_CARD"},s={ChannelId:"channel-id",AgreedAssortment:"agreed-assortment",IsOrganizationSessionValidation:"litium-sio"},l={OriginalUrl:"x-original-url",ContextUrl:"x-litium-storefront-context-url"},c={AwaitOrderApproval:"_awaitOrderApproval"},u={Init:"Init"}},74162:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(95155),o=r(52596);function i(e){let{inline:t=!1,className:r,children:i,...a}=e;return t?(0,n.jsx)("span",{className:r,...a,children:i}):(0,n.jsx)("p",{className:(0,o.A)("m-0",r),...a,children:i})}},86163:(e,t,r)=>{"use strict";r.d(t,{Register:()=>c});var n=r(95155),o=r(12115),i=r(48166),a=r(74162),s=r(19147),l=r(47444);let c=()=>{let{loginPageUrl:e,registerB2BPageUrl:t,registerB2CPageUrl:r}=(0,o.useContext)(i.WebsiteContext),c=(0,l.c)();return(0,n.jsxs)("div",{className:"flex w-full flex-col items-center gap-8 py-10 lg:py-20",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-[2vw] lg:flex-row",children:[(0,n.jsx)(u,{title:"Registrera dig som f\xf6retagskund",buttonLabel:"F\xf6retagskund",href:null!=t?t:""}),(0,n.jsx)(u,{title:"Registrera dig som privatkund",buttonLabel:"Privatkund",href:null!=r?r:""})]}),(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)(a.E,{className:"text-sm text-brand-primary-text",children:c("signup.alreadyhaveaccount")}),(0,n.jsx)(s.default,{href:e,className:"text-sm font-medium text-brand-primary-text hover:underline",children:c("requestQuoteFormBlock.login.button")})]})]})},u=e=>{let{title:t,buttonLabel:r,href:o}=e;return(0,n.jsxs)("div",{className:"flex flex-col items-start justify-between gap-10 rounded-input-field-search-radius p-8 shadow-brand-sha
1dow lg:w-[30vw]",children:[(0,n.jsx)("h2",{className:"m-0 text-xl lg:text-2xl",children:t}),(0,n.jsxs)(s.default,{href:o,className:"tertiary-button flex h-14 w-full items-center justify-center text-center text-lg",children:[r,"+"]},r)]})}},90189:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TrackingLocationContextProvider:()=>l,default:()=>c});var n=r(95155),o=r(12115),i=r(48166),a=r(10879);let s=(0,o.createContext)({location:a.u.Other,attributeTypeLocation:"unknown",enableCampaignSourceTracking:!1,trackingLocationData:{isWeeklyDealPlpPage:!1,isOutletPlpPage:!1,campaignSourceLocation:void 0}}),l=e=>{let{value:t,children:r}=e,{location:l,attributeTypeLocation:c,campaignSourceLocation:u,enableCampaignSourceTracking:d,currentEntitySystemId:h}=t,{productListOutlet:p,productListWeeklyDeals:m}=(0,o.useContext)(i.WebsiteContext),y=(0,o.useRef)(l),g=(0,o.useRef)(c),{isWeeklyDealPlpPage:f,isOutletPlpPage:x}=(0,o.useMemo)(()=>{let e=!1,t=!1;return Array.isArray(m)&&m.length>0&&(e=h===m[0].entitySystemId),Array.isArray(p)&&p.length>0&&(t=h===p[0].entitySystemId),{isWeeklyDealPlpPage:e,isOutletPlpPage:t}},[h,m,p]),C=(0,o.useMemo)(()=>{var e;return{location:null!==(e=y.current)&&void 0!==e?e:a.u.Other,attributeTypeLocation:g.current||"unknown",enableCampaignSourceTracking:null!=d&&d,trackingLocationData:{isWeeklyDealPlpPage:f,isOutletPlpPage:x,campaignSourceLocation:u}}},[d,x,f]);return(0,n.jsx)(s.Provider,{value:C,children:r})},c=()=>(0,o.useContext)(s)}},e=>{var t=t=>e(e.s=t);e.O(0,[6096,3179,6874,1193,8441,1684,7358],()=>t(34844)),_N_E=e.O()}]);
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.