1"use strict";(self.webpackChunkchefworks_theme=self.webpackChunkchefworks_theme||[]).push([[80],{44759(e,t,a){a.r(t),a.d(t,{default:()=>h});var r=a(14041),s=a(50654),n=a(30004),i=a(44188),u=a(11168),l=a(70409),o=a(40856),c=a(65571),d=a(8144),m=a(88987),f=a(98738),p=a(77030);const h=function(){var e=(0,r.useState)(!1),t=e[0],a=e[1],h=(0,r.useState)(""),v=h[0],g=h[1],V=(0,s.useReactiveVar)(o.salesLayoutConfigVar),S=(0,s.useReactiveVar)(c.salesGuestValidOrderResultVar),C=(0,s.useReactiveVar)(o.currentOrderVar),P=(0,s.useReactiveVar)(o.shipmentIdVar),k=(0,n.usePhraseTranslater)(),y=(0,i.useNavigate)(),E=t?r.createElement(f.OrderDetailsPageContent,null,r.createElement(l.ShipmentsPrint,{config:V,order:C,shipmentNumber:P})):r.createElement(r.Fragment,null);return(0,r.useEffect)(function(){if(S){var e=S.result,t=S.redirectUrl;if(!e&&!!t.length)return(0,u.navigateToUrl)({navigate:y,url:t}),void(0,c.updateSalesGuestValidOrderResult)();a(!0)}},[S]),(0,r.useEffect)(function(){var e;if(C){var t=C.shipments,a=""!==P?k("Print Shipment #%1",(null===(e=(0,m.findShipmentByNumber)(t,P))||void 0===e?void 0:e.number)||""):k("Print All Shipments");g(a)}},[C]),r.createElement(d.SalesLayout,{pageKey:"guest-shipment-print",pageTitle:v,pageContent:E,salesLayoutClassName:p.default.printPageLayout,loadCart:!1,loadCountries:!0,isGuestPage:!0,loadShipments:!0,splitOrderItems:!1})}}}]); 2//# sourceMappingURL=80.bundle.c44d16269d50a5501b5e.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.