1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[886],{z6wl:(e,t,r)=>{r.r(t),r.d(t,{default:()=>y});var o=r("fFly"),a=r.n(o),n=r("fl6W"),u=r("Y3qj"),l=r("+3iB"),s=r("w/O7"),c=r("3+ph"),i=r("fnFD"),p=r("/gz1"),g=r("G5ZP"),m=r("FOq3"),d=r("BYmg");const y=e=>{let{productPage:t,categoryPage:r,contentPage:o,productQuery:y,categoryQuery:f,pageQuery:A,location:P,StartPage:E}=e;const{setPreview:_}=(0,n.useContext)(m.o),{setCultureForPreview:v,restoreCultureForPreview:C}=(0,n.useContext)(d.A);(0,g.A)(!y,"You forgot to pass 'productQuery' to PreviewRoute"),(0,g.A)(!f,"You forgot to pass 'categoryQuery' to PreviewRoute"),(0,g.A)(!A,"You forgot to pass 'pageQuery' to PreviewRoute");const{search:w}=P,D=a().parse(w,{ignoreQueryPrefix:!0}),{articlenumber:O,startpageid:Q,categoryid:B,pageid:L,culture:b}=D;return _(!0),b&&v(b),O?n.createElement(u.X,{onCompleted:()=>{_(!1),b&&C()},query:y,variables:{articleNumber:O}},(e=>n.createElement(c.A,{result:e,component:t}))):B?n.createElement(p.A.Consumer,null,(e=>{let{offset:t,perPage:o}=e;return n.createElement(l.Ay,null,(e=>{let{sortOrder:a,direction:l}=e;return n.createElement(u.X,{onCompleted:()=>_(!1),query:f,variables:{id:parseInt(B,10),orderBy:a,orderByDirection:l,offset:t,first:o}},(e=>n.createElement(s.A,{result:e,component:r})))}))})):L?n.createElement(u.X,{onCompleted:()=>_(!1),query:A,variables:{id:parseInt(L,10)}},(e=>n.createElement(i.A,{result:e,component:o}))):Q?n.createElement(E,{startPageId:parseInt(Q,10),location:P}):null}}}]);
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.