1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4112],{54112:(e,t,s)=>{s.r(t),s.d(t,{DialogInPostGeowidget:()=>p});var n=s(26514),i=s(83191),d=s.n(i),l=s(75834),o=s(81586),a=s(2981);let p=({isOpen:e,setIsOpen:t,handler:s,inPostGeowidgetId:i,token:p})=>{let{currentLocale:r}=(0,o.Pj)();return(0,l.useEffect)(()=>{let e=e=>{let t=e.detail;s({shippingGroupId:i,pointId:t.name,pointName:`${t.address_details.city}, ${t.address.line1}`,pointZip:t.address_details.post_code,pointCity:t.address_details.city})};return document.addEventListener("handlePointSelected",e),()=>{document.removeEventListener("handlePointSelected",e)}},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"stylesheet",href:"https://geowidget.inpost.pl/inpost-geowidget.css"}),(0,n.jsx)(d(),{id:"inpost-widget",src:"https://geowidget.inpost.pl/inpost-geowidget.js",strategy:"afterInteractive"}),(0,n.jsx)(a.I,{isOpen:e,isButtonClosable:!0,setIsOpen:t,dialogPanelClassName:"w-full md:w-[95vw] max-w-xl",dialogPanelContentClassName:"!p-0 !pt-12 ",children:(0,n.jsx)("div",{className:"h-[70vh] md:h-[60vh]",dangerouslySetInnerHTML:{__html:` 2 <inpost-geowidget 3 onpoint="handlePointSelected" 4 token="${p}" 5 language="${r}" 6 config="parcelCollect" 7 ></inpost-geowidget> 8 `}})})]})}}}]);
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.