PageSourceSearch

https://www.gap.at/_next/static/chunks/6003.e5c7e437387b3dc4.js

js gap.at collected 2026-10-06 13:19:51 UTC 6,304 bytes, 91 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6003],{16003:(e,a,t)=>{t.r(a),t.d(a,{DialogPickmapp:()=>s});var i=t(26514),o=t(75834),p=t(81586),n=t(55047),r=t(2981);let s=({isOpen:e,setIsOpen:a,handler:t,pickmappId:s,carrierId:l,carrierColor:_,defaultLatitude:d,defaultLongitude:c,token:m,name:h})=>{let{settings:u}=(0,p.Pj)(),{t:g}=(0,n.Bd)("common");if((0,o.useEffect)(()=>{let e=e=>{if(e.origin===window.location.origin&&e.data.parcelshopNumber){let a=e.data;t({shippingGroupId:s,pointId:a.parcelshopNumber,pointName:a.name,pointZip:a.zip,pointCity:a.city,carrierId:l})}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[]),!_||!l)return null;let y={enter_location:g("dialog__pick-map__enter-location"),monday:g("dialog__pick-map__monday"),tuesday:g("dialog__pick-map__tuesday"),wednesday:g("dialog__pick-map__wednesday"),thursday:g("dialog__pick-map__thursday"),friday:g("dialog__pick-map__friday"),saturday:g("dialog__pick-map__saturday"),sunday:g("dialog__pick-map__sunday"),navigate_to_location:g("dialog__pick-map__navigate-to-location"),pickup_here:g("dialog__pick-map__pickup-here"),more_info:g("dialog__pick-map__more-info"),type_of_delivery:g("dialog__pick-map__type-of-delivery"),type_of_delivery_parcelbox:g("dialog__pick-map__type-of-delivery-parcelbox"),type_of_delivery_parcelshop:g("dialog__pick-map__type-of-delivery-parcelshop"),type_of_delivery_post:g("dialog__pick-map__type-of-delivery-post"),payment_method:g("dialog__pick-map__payment-method"),payment_method_cash:g("dialog__pick-map__payment-method-cash"),payment_method_card:g("dialog__pick-map__payment-method-card"),payment_method_app:g("dialog__pick-map__payment-method-app"),opening_hours:g("dialog__pick-map__opening-hours"),opening_hours_title:g("dialog__pick-map__opening-hours-title"),opening_hours_nonstop:g("dialog__pick-map__opening-hours-nonstop"),opening_hours_opening:g("dialog__pick-map__opening-hours-opening"),parcelshop_not_found_heading:g("dialog__pick-map__not-found-heading"),parcelshop_not_found_info:g("dialog__pick-map__not-found-info")};return(0,i.jsx)(r.I,{dialogPanelClassName:"w-[95vw] !bg-transparent flex items-center justify-center",dialogPanelContentClassName:"!p-0 !pt-12 !max-h-[90dvh] w-full overflow-hidden bg-white rounded",isOpen:e,isButtonClosable:!0,setIsOpen:a,isScrollable:!1,children:(0,i.jsx)("div",{className:"px-4 relative overflow-hidden",children:(0,i.jsx)("iframe",{className:"w-full h-[calc(90dvh-5rem)] [touch-action:auto]",srcDoc:(({token:e,carrierId:a,carrierColor:t,country:i,googleMapsApiKey:o,name:p,defaultLatitude:n,defaultLongitude:r,translations:s})=>{let l=n??Number("47.2"),_=r??Number("13.2");return`<!DOCTYPE html>
2        <html>
3        <head>
4          <meta charset="utf-8" />
5          <link
6              href="https://pickmapp.postabezhranic.cz/template/assets/geowidget/v/1/5/styles.min.css"
7              rel="stylesheet"
8          >
9          <style>
10            html, body {
11              height: 100%;
12              margin: 0;
13              overflow: hidden;
14            }
15
16            #pickMapp {
17              width: 100%;
18              height: 100%;
19              overflow-y: auto;
20              -webkit-overflow-scrolling: touch;
21            }
22          </style>
23          <!--
24            Prevent iOS Safari from zooming on input focus inside shadow DOM.
25            Inputs with font-size < 16px trigger auto-zoom on iOS Safari.
26            This override is safe here because it runs only inside this
27            iframe and does not affect the parent application's global scope.
28          -->
29          <script>
30            (function () {
31              var _attachShadow = Element.prototype.attachShadow;
32              Element.prototype.attachShadow = function (init) {
33                var shadow = _attachShadow.call(this, init);
34                var style = document.createElement("style");
35                style.textContent = "input { font-size: 16px !important; } * { -webkit-overflow-scrolling: touch; }";
36                shadow.appendChild(style);
37                return shadow;
38              };
39            })();
40          </script>
41        </head>
42        <body>
43            <div id="pickMapp"></div>
44            <script src="https://pickmapp.postabezhranic.cz/template/assets/geowidget/v/1/5/scripts.min.js"></script>
45            <script>
46              document.addEventListener('click', function(event) {
47                var target = event.target;
48
49                if (!(target instanceof Element)) {
50                  return;
51                }
52
53                var anchor = target.closest('a[href="#"]');
54                if (anchor) {
55                  event.preventDefault();
56                }
57              }, true);
58
59                var pickMappCgf = {
60                    'mapElementId': 'pickMapp',
61                    'api_key': '${e}',
62                    'parcelshops': [${JSON.stringify({number:a,filterName:p,filterColor:t,deliveryPrice:""})}],
63                    'translations': ${JSON.stringify(s)},
64                    'afterParcelshopSelectCallback': function(
65                        parcelshopNumber,
66                        courierNumber,
67                        name,
68                        address,
69                        city,
70                        zip,
71                        pIdCourier
72                    ) {
73                        var dataToSend = {
74                            parcelshopNumber: parcelshopNumber,
75                            courierNumber: courierNumber,
76                            name: name,
77                            address: address,
78                            city: city,
79                            zip: zip,
80                        };
81                        window.top.postMessage(dataToSend, '*');
82                    },
83                    'countries': ['${i}'],
84                    'googleApiKey': '${o}',
85                    'defaultLlatitude': '${l}',
86                    'defaultLlongitude': '${_}',
87                };
88                pickmappInit(pickMappCgf);
89            </script>
90        </body>
91        </html>`})({token:m,carrierId:l,carrierColor:_,name:h,country:u.defaultCountryISO.toLowerCase(),googleMapsApiKey:u.googleMapsApiKey,defaultLatitude:d,defaultLongitude:c,translations:y})})})})}}}]);

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.