PageSourceSearch

https://managebooking.stenaline.pl/assets/UseVoucherAstsQuery-DF05IVhZ.js

js stenaline.pl collected 2026-10-02 10:02:44 UTC 1,558 bytes, 35 lines download raw bytes

1import{Ti as e,mt as t,vt as n}from"./I18nContext-WAMKTcLM.js";import{t as r}from"./PetVoucherCollector-CxM2EEUP.js";var{useMemo:i}=await e(`react`),a=t(`
2  query VoucherAsts_GetByGenericIds($genericIds: [String!]!, $languageId: ID!) {
3    depFerryVoucherAst {
4      byGenericIds(genericIds: $genericIds) {
5        id
6        genericId
7        depFerryVoucherArr {
8          id
9          blocked
10          arrangement {
11            id
12            arrTypeCode
13            description
14            arrangementNameLangDescription(
15              languageId: $languageId
16              salesChannelCode: "PIB"
17            )
18          }
19        }
20        arrangementSubType {
21          id
22          generalArrSubType {
23            id
24            description
25            arrangementSubTypeCategory
26            generalAstLangDescription(
27              languageId: $languageId
28              salesChannelCode: "PIB"
29            )
30          }
31        }
32      }
33    }
34  }
35`),o=(e,t)=>{let[{data:r,fetching:o,error:s}]=n({query:a,variables:{genericIds:e,languageId:t},pause:e.length===0}),c=r?.depFerryVoucherAst.byGenericIds;return{vouchersById:i(()=>{let e={};if(c)for(let t of c)e[t.genericId]=t;return e},[c]),isLoading:o,error:s}},s=(e,t)=>{let{vouchersById:n,isLoading:a,error:s}=o(e,t),{petVoucherExcludingPetInCabinByGenericId:c,petInCabinVoucherByGenericId:l,allPetVouchersByGenericId:u}=i(()=>r(n),[n]);return{petVoucherExcludingPetInCabinByGenericId:c,petInCabinVoucherByGenericId:l,allPetVouchersByGenericId:u,isLoading:a,error:s}};export{o as n,a as r,s as t};

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.