PageSourceSearch

https://www.jumbo.com/_nuxt/C5scKYuA.js

js jumbo.com collected 2026-10-01 10:22:18 UTC 4,445 bytes, 1 lines download raw bytes

1import{dI as $,dJ as R,e9 as C,dL as G,ea as F,eb as S,ec as P,bx as j,ed as M,ee as V,c as b,d as X,k as B,m as J,o as q,bp as Q,p as K,j as o,g as u,h as v,F as E,y as h,E as c,v as O,G as I,ef as U,P as Y}from"./DQM39uDX.js";import{n as Z}from"./DiRvb2vg.js";function ee(t,l,e){var a,p,y,n,L,w,D,k,f,g;$(2,arguments);var _=R(t),s=R(l),m=M(),i=(a=(p=e?.locale)!==null&&p!==void 0?p:m.locale)!==null&&a!==void 0?a:C,W=G((y=(n=(L=(w=e?.weekStartsOn)!==null&&w!==void 0?w:e==null||(D=e.locale)===null||D===void 0||(k=D.options)===null||k===void 0?void 0:k.weekStartsOn)!==null&&L!==void 0?L:m.weekStartsOn)!==null&&n!==void 0?n:(f=m.locale)===null||f===void 0||(g=f.options)===null||g===void 0?void 0:g.weekStartsOn)!==null&&y!==void 0?y:0);if(!i.localize)throw new RangeError("locale must contain localize property");if(!i.formatLong)throw new RangeError("locale must contain formatLong property");if(!i.formatRelative)throw new RangeError("locale must contain formatRelative property");var N=F(_,s);if(isNaN(N))throw new RangeError("Invalid time value");var d;N<-6?d="other":N<-1?d="lastWeek":N<0?d="yesterday":N<1?d="today":N<2?d="tomorrow":N<7?d="nextWeek":d="other";var H=S(_,P(_)),x=S(s,P(s)),z=i.formatRelative(d,H,x,{locale:i,weekStartsOn:W});return j(_,z,{locale:i,weekStartsOn:W})}var r=(t=>(t[t.PLANNING=0]="PLANNING",t[t.PLANNED=1]="PLANNED",t[t.NTH_IN_LINE=2]="NTH_IN_LINE",t[t.SECOND_IN_LINE=3]="SECOND_IN_LINE",t[t.NEXT_IN_LINE=4]="NEXT_IN_LINE",t))(r||{});function te(t){const l=V({orderId:t},{fetchPolicy:"no-cache"}),e=b(()=>{const a=l.result.value?.getEtaDeliveryWindow;return!a||a.__typename==="EtaDeliveryWindowError"?null:l.result.value?.getEtaDeliveryWindow});return l.load(),{eta:e,isLoadingEta:l.loading,refreshEta:l.refetch}}const ae={ETA_REFRESH_EVENT:"eta:refresh"},ne={key:0,class:"eta-text"},oe={key:0},A=X({__name:"Eta",props:{orderId:{}},setup(t){const l=t,{t:e}=B(),{eta:a,isLoadingEta:p,refreshEta:y}=te(l.orderId),n=J(r.PLANNING),L=b(()=>a.value&&g(a.value.estimatedDeliveryWindow.startDateTime)),w=b(()=>a.value&&{startTime:f(a.value.estimatedDeliveryWindow.startDateTime),endTime:f(a.value.estimatedDeliveryWindow.endDateTime)}),D=b(()=>n.value===r.NTH_IN_LINE||n.value===r.SECOND_IN_LINE||n.value===r.NEXT_IN_LINE);function k(){n.value=r.PLANNED,a.value.state!==U.PLANNED&&(n.value=r.NTH_IN_LINE,a.value.numberOfStopsAhead===1?n.value=r.SECOND_IN_LINE:a.value.numberOfStopsAhead===0&&(n.value=r.NEXT_IN_LINE))}function f(s){return j(new Date(s),"HH:mm")}function g(s){const m={lastWeek:"P",yesterday:"P",today:`'${e("today")}'`,tomorrow:`'${e("tomorrow")}'`,nextWeek:"eeee",other:"P"};return ee(new Date(s),new Date,{locale:{...Z,formatRelative:i=>m[i]}})}function _(){y()}return q(()=>Q(window,ae.ETA_REFRESH_EVENT,_)),K(a,()=>{k()}),(s,m)=>o(p)?I("",!0):(u(),v("div",ne,[n.value===o(r).PLANNING?(u(),v(E,{key:0},[h(c(o(e)("planning")),1)],64)):(u(),v(E,{key:1},[O("span",null,[n.value===o(r).PLANNED?(u(),v(E,{key:0},[h(c(o(e)("planned",{when:L.value})),1)],64)):I("",!0),n.value===o(r).NTH_IN_LINE?(u(),v(E,{key:1},[h(c(o(e)("nthInLine",{numberOfStopsAhead:o(a).numberOfStopsAhead})),1)],64)):I("",!0),n.value===o(r).SECOND_IN_LINE?(u(),v(E,{key:2},[h(c(o(e)("secondInLine")),1)],64)):I("",!0),n.value===o(r).NEXT_IN_LINE?(u(),v(E,{key:3},[h(c(o(e)("nextInLine")),1)],64)):I("",!0)]),O("strong",null,c(o(e)("timeWindow",w.value)),1),O("span",null,c(o(e)("dot")),1),D.value?(u(),v("span",oe,c(o(e)("alreadySubmitDeposits")),1)):I("",!0)],64))]))}});function T(t){const l=t;l.__i18n=l.__i18n||[],l.__i18n.push({locale:"",resource:{"nl-NL":{planning:{t:0,b:{t:2,i:[{t:3}],s:"We zijn je bestelling aan het plannen."}},planned:{t:0,b:{t:2,i:[{t:3,v:"We zijn er "},{t:4,k:"when"},{t:3,v:" tussen"}]}},nthInLine:{t:0,b:{t:2,i:[{t:3,v:"Er zijn nog "},{t:4,k:"numberOfStopsAhead"},{t:3,v:" klanten voor je. We zijn er tussen"}]}},secondInLine:{t:0,b:{t:2,i:[{t:3}],s:"Er is nog 1 klant voor je. We zijn er tussen"}},nextInLine:{t:0,b:{t:2,i:[{t:3}],s:"Je bent de eerstvolgende klant. We zijn er tussen"}},timeWindow:{t:0,b:{t:2,i:[{t:3,v:" "},{t:4,k:"startTime"},{t:3,v:" en "},{t:4,k:"endTime"}]}},alreadySubmitDeposits:{t:0,b:{t:2,i:[{t:3}],s:" Je kunt je statiegeld alvast doorgeven."}},dot:{t:0,b:{t:2,i:[{t:3}],s:"."}},tomorrow:{t:0,b:{t:2,i:[{t:3}],s:"morgen"}},today:{t:0,b:{t:2,i:[{t:3}],s:"vandaag"}}}}})}typeof T=="function"&&T(A);const se=Y(A,[["__scopeId","data-v-0c7a71a2"]]);export{se as O,ae as o};

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.