PageSourceSearch

https://sugary.me/_next/static/chunks/8619.5e01c3634699d472.js

js sugary.me collected 2026-10-01 14:21:12 UTC 50,982 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8619],{4481:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var a=i(95155),s=i(12115);function r({texts:e,typingSpeed:t=80,deletingSpeed:i=40,pauseTime:n=1500,className:o="",preLine:l=!0,enableDeleting:c=!0,as:x="h3",cursorClassName:u="w-[0.4rem] h-[0.9em] mb-2"}){let[d,m]=(0,s.useState)(0),[y,p]=(0,s.useState)(0),[h,k]=(0,s.useState)(!1),f=(0,s.useMemo)(()=>e.map(e=>e.replace(/<br\s*\/?>/gi,"\n")),[e]);(0,s.useEffect)(()=>{let e,a=f[d];return h?y>0?e=setTimeout(()=>{p(e=>e-1)},i):(k(!1),m(e=>(e+1)%f.length)):e=y<a.length?setTimeout(()=>{p(e=>e+1)},t):setTimeout(()=>{c?k(!0):(p(0),m(e=>(e+1)%f.length))},n),()=>clearTimeout(e)},[y,h,d,f,t,i,n,c]);let g=f[d].slice(0,y);return(0,a.jsxs)(x,{className:o,style:{whiteSpace:l?"pre-line":"nowrap"},children:[(0,a.jsx)("span",{className:"sr-only",children:f.map((e,t)=>(0,a.jsxs)("span",{children:[e," "]},t))}),g,(0,a.jsx)("span",{className:`inline-block ml-1 bg-current animate-cursor align-middle rounded-full ${u}`})]})}i(63769)},9338:(e,t,i)=>{"use strict";i.d(t,{L$:()=>d,X6:()=>p,fG:()=>x,ns:()=>m,rM:()=>l,setGiftingPlace:()=>c});var a=i(2125),s=i(35844),r=i(37002),n=i(11109),o=i(85702);async function l(){try{let e=await s.u.get(a.Ge);return await e.json()}catch{return null}}function c(e,t,i){let a=r.useGlobalStore.getState(),s=a[r.X.CurrentUser];if(s){let t={...s,GiftingPlace:e};a.setField(r.X.CurrentUser,t)}return a.setField(r.X.GiftingPlace,e),n.Q.getState().setCurrentGeoPlace(t),n.Q.getState().setIsGiftingPlaceBySystem(i),u({place:e}),{success:!0}}function x(e){let t=r.useGlobalStore.getState(),i=t[r.X.CurrentUser];if(i){let a={...i,GiftingDate:e};t.setField(r.X.CurrentUser,a)}return e&&t.setField(r.X.GiftingDate,e),u({date:e}),{success:!0}}function u(e){let t=r.useGlobalStore.getState();if(!t[r.X.Token])return;let i=e.place??t[r.X.GiftingPlace],n=e.date??t[r.X.GiftingDate],o=n?`?giftingDate=${encodeURIComponent(n)}`:"";s.u.post(`${a.AM}${o}`,i).catch(e=>{console.warn("Silently caught error while syncing gifting place to backend:",e)})}async function d(e,t){try{let i=`${a.td.LOOKUP}?coordinate=${e},${t}&checkInService=true`,s=await o.O.get(i);return await s.json()}catch(e){return console.error("Error looking up sugary place:",e),null}}async function m(e,t,i,s,r){try{let n="cities"===t?a.td.CITIES:a.td.STATES,l=await o.O.get(`${n}?countryIso2=${encodeURIComponent(e)}&skip=${i}&limit=30&keyword=${encodeURIComponent(s??"")}&onlyInService=${r}`);return await l.json()}catch(e){return console.error(`Error getting ${t}:`,e),null}}let y=new Map;async function p(e=!0,t=!0){let i=`${e}:${t}`,s=y.get(i);if(s)return s;let r=(async()=>{try{let i=`${a.td.COUNTRIES}?checkInService=${e}&onlyInService=${t}`,s=await o.O.get(i);return await s.json()}catch(e){return console.error("Error getting countries:",e),y.delete(i),null}})();return y.set(i,r),r}},11915:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n,c:()=>o});var a=i(12115),s=i(37276),r=i(37002);function n(e,t){let i=r.useGlobalStore.getState().giftingPlace,a=(0,s.MD)(e);(0,s.Ek)({...a,latitude:a.latitude??t.fallbackLatitude??null,longitude:a.longitude??t.fallbackLongitude??null,isOutOfCoverage:!1===e.IsInService,placeSearchQuery:t.query||null,source:t.source,surface:t.surface??null,placeLevel:(0,s.bS)(e),previousCountryIso2:i?.CountryIso2??null,previousCityName:i?.CityName??null})}function o(e,t,i,r){let n=(0,a.useRef)({keyword:t,suggestionCount:i,surface:r,baseline:t,done:!1});return(0,a.useEffect)(()=>{n.current.keyword=t,n.current.suggestionCount=i,n.current.surface=r},[t,i,r]),(0,a.useEffect)(()=>{if(!e)return;let t=n.current;t.baseline=t.keyword,t.done=!1;let i=e=>{let i=t.keyword.trim();!t.done&&i&&t.keyword!==t.baseline&&(t.done=!0,(0,s.SP)({query:i,suggestionCount:t.suggestionCount,surface:t.surface??null},e))},a=()=>i(!0);return window.addEventListener("pagehide",a),()=>{window.removeEventListener("pagehide",a),i(!1)}},[e]),(0,a.useCallback)(()=>{n.current.done=!0},[])}},28619:(e,t,i)=>{"use strict";i.d(t,{A:()=>I});var a=i(95155),s=i(12115),r=i(2693),n=i(23591),o=i(62686),l=i(11109),c=i(61878),x=i(33210),u=i(6296),d=i(60119),m=i(9338);function y({onLocate:e}){let{language:t}
1=(0,r.n)(),i=n.P[t],[o,l]=(0,s.useState)(!1),[c,x]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!c)return;let e=setTimeout(()=>x(!1),2e3);return()=>clearTimeout(e)},[c]),(0,a.jsxs)("div",{className:"relative flex shrink-0 items-center",children:[(0,a.jsx)("button",{type:"button",onClick:()=>{!o&&"geolocation"in navigator?(l(!0),x(!1),navigator.geolocation.getCurrentPosition(async t=>{let i=await (0,m.L$)(t.coords.latitude,t.coords.longitude);(l(!1),i)?e(i):x(!0)},()=>{l(!1),x(!0)},{enableHighAccuracy:!0,timeout:15e3,maximumAge:0})):x(!0)},disabled:o,"aria-label":i.giftingPlacePicker.locate_me,className:"flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full text-green-500 transition-colors hover:bg-white/10 disabled:cursor-wait",children:o?(0,a.jsx)(u.A,{className:"size-4 animate-spin"}):(0,a.jsx)(d.A,{size:20,className:""})}),c&&(0,a.jsx)("p",{className:"absolute end-0 top-full z-10 mt-1.5 w-max max-w-[220px] rounded-lg border border-white/10 bg-black/90 px-2.5 py-1.5 text-[11px] font-medium text-red-400 shadow-lg animate-in fade-in slide-in-from-top-1 duration-200",children:i.giftingPlacePicker.locate_me_error})]})}var p=i(4481);function h({value:e,placeholder:t,onChange:i,onFocus:s,onClear:r,autoFocus:n=!1,onLocate:o,typewriterTexts:l}){return(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-2.5 rounded-full bg-black/40 px-4 border border-white/10 transition-colors focus-within:border-white/25 h-[52px]",children:[(0,a.jsx)(c.A,{size:20,className:"shrink-0 text-white/50"}),(0,a.jsxs)("div",{className:"relative flex-1 min-w-0",children:[(0,a.jsx)("input",{autoFocus:n,type:"text",value:e,onChange:e=>i(e.target.value),onFocus:s,placeholder:l?"":t,"aria-label":l?t:void 0,className:"w-full min-w-0 bg-transparent text-[1.5rem] md:text-[1.35rem] lg:text-[1.1rem]  font-medium text-white outline-none placeholder:text-white/30"}),l&&!e&&(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center text-[1.5rem] md:text-[1.35rem] lg:text-[1.1rem] font-medium text-white/30 overflow-hidden whitespace-nowrap",children:(0,a.jsx)(p.A,{as:"span",className:"text-white/30",cursorClassName:"w-[1.5px] h-[1em]",preLine:!1,texts:l})})]}),e?(0,a.jsx)("button",{type:"button",onClick:r,className:"flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors hover:bg-white/10",children:(0,a.jsx)(x.A,{size:20,className:"text-white/50"})}):o&&(0,a.jsx)(y,{onLocate:o})]})}var k=i(39457),f=i(24538);function g({suggestions:e,isLoading:t,loadingDetailsId:i,onPick:s}){return t?(0,a.jsx)("div",{className:"flex flex-col gap-1.5 animate-in fade-in slide-in-from-bottom-2 duration-300",children:[1,2,3].map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl bg-white/5 px-3 py-3",children:[(0,a.jsx)("div",{className:"size-9 shrink-0 animate-pulse rounded-full bg-white/10"}),(0,a.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,a.jsx)("div",{className:"h-3 w-2/3 animate-pulse rounded bg-white/10"}),(0,a.jsx)("div",{className:"h-2.5 w-1/2 animate-pulse rounded bg-white/5"})]})]},e))}):(0,a.jsx)(k.P.ul,{className:"flex max-h-full flex-col gap-1.5 overflow-y-auto custom-scrollbar-visible pr-1",initial:"hidden",animate:"visible",variants:{visible:{transition:{staggerChildren:.04}}},children:e.map(e=>{let[t,...r]=e.description.split(","),n=r.join(",").trim(),o=i===e.place_id;return(0,a.jsx)(k.P.li,{variants:{hidden:{opacity:0,y:-6},visible:{opacity:1,y:0}},transition:{duration:.18,ease:"easeOut"},children:(0,a.jsxs)("button",{type:"button",onClick:()=>s(e),className:`flex w-full cursor-pointer items-center gap-3 squircle bg-white/5 px-3 py-3 text-left border border-transparent transition-all duration-200 hover:bg-white/10 hover:border-white/10 ${o?"pointer-events-none opacity-70":i?"opacity-40":""}`,children:[(0,a.jsx)("span",{className:"flex size-9 shrink-0 items-center justify-center rounded-full bg-white/10",children:(0,a.jsx)(f.A,{className:"size-4 text-white/70"})}),(0,a.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,a.jsx)("span",{className:"block truncate text-lg md:text-sm font-semibold text-white",children:t?.trim()}),n&&(0,a.jsx)("span",{className:"mt-0.5 block truncate text-md md:text-sm text-white/50",children:n})]}),o&&(0,a.jsx)(u.A,{className:"size-4 shrink-0 animate-spin text-white"})]})},e.place_id)})})}var b=i(63439),v=i(66088);function w({onPickCountryAction:e}){let{language:t}
1=(0,r.n)(),i=n.P[t],[o,l]=(0,s.useState)([]),[c,x]=(0,s.useState)(!0),[u,d]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=!0;return(async()=>{let t=await (0,m.X6)();e&&(l(Array.isArray(t)?t:t?.data??[]),x(!1))})(),()=>{e=!1}},[]),(0,a.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-3 pb-3 animate-in fade-in slide-in-from-bottom-2 duration-300",children:[(0,a.jsxs)("div",{onClick:()=>d(e=>!e),className:"flex items-center justify-between gap-2 cursor-pointer group hover:bg-white/5 p-1 rounded-xl",children:[(0,a.jsx)("h3",{className:"px-1 pl-4 text-xl md:text-base font-semibold text-white/30 group-hover:text-white/50 transition-colors",children:i.giftingPlacePicker.no_address_title}),(0,a.jsx)("div",{className:"text-white/40 group-hover:text-white/80 transition-colors p-1",children:(0,a.jsx)(v.A,{className:`w-5 h-5 transition-transform duration-300 ${u?"rotate-180":"rotate-0"}`})})]}),u&&(c?(0,a.jsx)("div",{className:"flex flex-wrap gap-2 px-1",children:[72,96,80,110,88,100].map((e,t)=>(0,a.jsx)("div",{style:{width:e},className:"h-9 animate-pulse rounded-full bg-white/5"},t))}):(0,a.jsx)("div",{className:"flex flex-wrap gap-2 px-1",children:o.map(t=>(0,a.jsxs)("button",{type:"button",onClick:()=>e(t),className:"flex items-center gap-2 rounded-full bg-white/5 h-[52px] pl-4 pr-6 text-[14px] md:text-[16px] lg:text-sm font-semibold text-white/80 border border-white/10 transition-colors hover:bg-white/10 hover:text-white cursor-pointer",children:[t.CountryIso2&&(0,a.jsx)("span",{className:"overflow-hidden rounded-[3px]",children:(0,a.jsx)(b.iF,{countryIso2:t.CountryIso2,countryName:t.CountryName??void 0,width:24,height:16})}),t.CountryName]},t.CountryIso2??t.CountryName))}))]})}var j=i(37206);let C=JSON.parse('{"v":"5.7.7","fr":30,"ip":30,"op":136,"w":800,"h":800,"nm":"_Main Comp","ddd":0,"assets":[{"id":"comp_0","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"mouth open","parent":8,"sr":1,"ks":{"o":{"a":1,"k":[{"t":46,"s":[0],"h":1},{"t":47,"s":[100],"h":1},{"t":116,"s":[100],"h":1},{"t":117,"s":[0],"h":1}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[49.491,45.993,0],"ix":2,"l":2},"a":{"a":0,"k":[53.967,47.755,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":47,"s":[{"i":[[4.643,0],[1.409,-2.434],[-4.071,0],[-2.73,3.581]],"o":[[-4.643,0],[2.777,3.612],[4.071,0],[-1.41,-2.434]],"v":[[-0.04,-13.378],[-11.055,-11.162],[0.003,-7.122],[11.092,-11.193]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":50,"s":[{"i":[[4.643,0],[1.409,-2.434],[-4.071,0],[-2.73,3.581]],"o":[[-4.643,0],[2.777,3.612],[4.071,0],[-1.41,-2.434]],"v":[[0,-4.566],[-10.246,-0.381],[0,4.566],[10.261,-0.381]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.333,"y":0},"t":113,"s":[{"i":[[4.643,0],[1.409,-2.434],[-4.071,0],[-2.73,3.581]],"o":[[-4.643,0],[2.777,3.612],[4.071,0],[-1.41,-2.434]],"v":[[0,-4.566],[-10.246,-0.381],[0,4.566],[10.261,-0.381]],"c":true}]},{"t":116,"s":[{"i":[[4.643,0],[1.409,-2.434],[-4.071,0],[-2.73,3.581]],"o":[[-4.643,0],[2.777,3.612],[4.071,0],[-1.41,-2.434]],"v":[[-0.04,-13.378],[-11.055,-11.162],[0.003,-7.122],[11.092,-11.193]],"c":true}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.481999984442,0.675,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[53.968,54.055],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":47,"s":[{"i":[[6.642,0],[0,0],[0,6.642],[0,0],[0,0],[0,0]],"o":[[0,0],[-6.642,0],[0,0],[0,0],[0,0],[0,6.642]],"v":[[0.592,-0.885],[-0.523,-0.885],[-12.593,-10.035],[-12.584,-10.865],[12.584,-10.865],[12.575,-10.035]],"c":true}]}
1,{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0},"t":50,"s":[{"i":[[6.642,0],[0,0],[0,6.642],[0,0],[0,0],[0,0]],"o":[[0,0],[-6.642,0],[0,0],[0,0],[0,0],[0,6.642]],"v":[[0.558,10.865],[-0.557,10.865],[-12.584,-1.16],[-12.584,-10.865],[12.584,-10.865],[12.584,-1.16]],"c":true}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.333,"y":0},"t":113,"s":[{"i":[[6.642,0],[0,0],[0,6.642],[0,0],[0,0],[0,0]],"o":[[0,0],[-6.642,0],[0,0],[0,0],[0,0],[0,6.642]],"v":[[0.558,10.865],[-0.557,10.865],[-12.584,-1.16],[-12.584,-10.865],[12.584,-10.865],[12.584,-1.16]],"c":true}]},{"t":116,"s":[{"i":[[6.642,0],[0,0],[0,6.642],[0,0],[0,0],[0,0]],"o":[[0,0],[-6.642,0],[0,0],[0,0],[0,0],[0,6.642]],"v":[[0.592,-0.885],[-0.523,-0.885],[-12.593,-10.035],[-12.584,-10.865],[12.584,-10.865],[12.575,-10.035]],"c":true}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.238999998803,0.071000005685,0.113999998803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[53.967,47.755],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":900,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"smile","sr":1,"ks":{"o":{"a":1,"k":[{"t":46,"s":[100],"h":1},{"t":47,"s":[0],"h":1},{"t":116,"s":[0],"h":1},{"t":117,"s":[100],"h":1}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2,"l":2},"a":{"a":0,"k":[49.491,20.462,0],"ix":1,"l":2},"s":{"a":0,"k":[400,400,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.333,"y":0},"t":45,"s":[{"i":[[0,0],[-5.212,0],[0,0]],"o":[[0,0],[5.213,0],[0,0]],"v":[[-9.98,-1.446],[-0.001,1.446],[9.98,-1.446]],"c":false}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":47,"s":[{"i":[[0,0],[-5.212,0],[0,0]],"o":[[0,0],[5.213,0],[0,0]],"v":[[-9.98,-1.446],[0.008,-0.929],[9.98,-1.446]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":116,"s":[{"i":[[0,0],[-5.212,0],[0,0]],"o":[[0,0],[5.213,0],[0,0]],"v":[[-9.98,-1.446],[0.008,-0.929],[9.98,-1.446]],"c":false}]},{"t":118,"s":[{"i":[[0,0],[-5.212,0],[0,0]],"o":[[0,0],[5.213,0],[0,0]],"v":[[-9.98,-1.446],[-0.001,1.446],[9.98,-1.446]],"c":false}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.238999998803,0.071000005685,0.113999998803,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":5,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[49.492,39.229],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":900,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"cover R","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[-100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.333,"y":0},"t":45,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,-112],[-64,-112]],"c":false}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":47,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,-102.5],[-64,-55]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":116,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,-102.5],[-64,-55]],"c":false}]},{"t":118,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,-112],[-64,-112]],"c":false}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.333,"y":0}
1,"t":45,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,54],[-64,54]],"c":false}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":47,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,43],[-64,-5.75]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":116,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,43],[-64,-5.75]],"c":false}]},{"t":118,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,54],[-64,54]],"c":false}]}],"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.886274569642,0.20000001496,0.360784313725,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":50,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":900,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"cover L","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2,"l":2},"a":{"a":0,"k":[0,0,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.333,"y":0},"t":45,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,-112],[-64,-112]],"c":false}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":47,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,-102.5],[-64,-55]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":116,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,-102.5],[-64,-55]],"c":false}]},{"t":118,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,-112],[-64,-112]],"c":false}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.333,"y":0},"t":45,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,54],[-64,54]],"c":false}]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":47,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,43],[-64,-5.75]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.167,"y":0.167},"t":116,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,43],[-64,-5.75]],"c":false}]},{"t":118,"s":[{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-223,54],[-64,54]],"c":false}]}],"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.886274569642,0.20000001496,0.360784313725,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":50,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":900,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"eyes open","sr":1,"ks":{"o":{"a":1,"k":[{"t":47,"s":[100],"h":1},{"t":48,"s":[0],"h":1},{"t":115,"s":[0],"h":1},{"t":116,"s":[100],"h":1}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2,"l":2},"a":{"a":0,"k":[49.491,20.462,0],"ix":1,"l":2},"s":{"a":0,"k":[400,400,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-2.332],[2.332,0],[0,2.332],[-2.332,0]],"o":[[0,2.332],[-2.332,0],[0,-2.332],[2.332,0]],"v":[[4.223,0],[-0.001,4.223],[-4.223,0],[-0.001,-4.223]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[10.964,8.875],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-7.121],[7.122,0],[0,7.122],[-7.121,0]],"o":[[0,7.122],[-7.121,0],[0,-7.121],[7.122,0]],"v":[[12.895,-0.001],[-0.001,12.895],[-12.895,-0.001],[-0.001,-12.895]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.238999998803,0.071000005685,0.113999998803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[13.144,13.145],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-2.332],[2.332,0],[0,2.332],[-2.332,0]],"o":[[0,2.332],[-2.332,0],[0,-2.332],[2.332,0]],"v":[[4.222,0],[0,4.223],[-4.222,0],[0,-4.223]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[83.658,8.875],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-7.121],[7.122,0],[0,7.122],[-7.121,0]],"o":[[0,7.122],[-7.121,0],[0,-7.121],[7.122,0]],"v":[[12.894,-0.001],[-0.001,12.895],[-12.894,-0.001],[-0.001,-12.895]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.238999998803,0.071000005685,0.113999998803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false}
vendor: 17,108 bytes, line 1
1,{"ty":"tr","p":{"a":0,"k":[85.839,13.145],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":900,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"eyes closed","parent":8,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[49.278,27.674,0],"ix":2,"l":2},"a":{"a":0,"k":[53.754,29.435,0],"ix":1,"l":2},"s":{"a":0,"k":[100,100,100],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[-7.931,4.666],[7.931,0],[-7.931,-4.666]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.238999998803,0.071000005685,0.113999998803,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[17.931,14.666],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0]],"v":[[7.931,4.666],[-7.931,0],[7.931,-4.666]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.238999998803,0.071000005685,0.113999998803,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[89.578,14.666],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":900,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":3,"nm":"face 01","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[500,500,0],"ix":2,"l":2},"a":{"a":0,"k":[49.491,20.462,0],"ix":1,"l":2},"s":{"a":0,"k":[400,400,100],"ix":6,"l":2}},"ao":0,"ip":0,"op":900,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":0,"nm":"face","parent":2,"refId":"comp_0","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.4,"y":1},"o":{"x":0.333,"y":0},"t":40,"s":[154.361,294.93,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":1},"o":{"x":0.6,"y":0},"t":46,"s":[154.361,299.93,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":1},"t":55,"s":[154.361,289.93,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.4,"y":1},"o":{"x":0.167,"y":0.167},"t":59,"s":[154.361,289.93,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.6,"y":0},"t":65,"s":[154.361,298.03,0],"to":[0,0,0],"ti":[0,0,0]},{"t":71,"s":[154.361,294.93,0]}],"ix":2,"l":2},"a":{"a":0,"k":[500,500,0],"ix":1,"l":2},"s":{"a":0,"k":[25,25,100],"ix":6,"l":2}},"ao":0,"w":1000,"h":1000,"ip":0,"op":900,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"body","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0,"y":1},"o":{"x":0.333,"y":0},"t":46,"s":[400,688.161,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"t":55,"s":[400,558.16,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":62,"s":[400,688.161,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":1},"o":{"x":0.167,"y":0.167},"t":64,"s":[400,688.161,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"t":71,"s":[400,558.16,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":78,"s":[400,688.161,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":1},"o":{"x":0.167,"y":0.167},"t":80,"s":[400,688.161,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"t":87,"s":[400,558.16,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":94,"s":[400,688.161,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":1},"o":{"x":0.167,"y":0.167},"t":96,"s":[400,688.161,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":1,"y":0},"t":103,"s":[400,558.16,0],"to":[0,0,0],"ti":[0,0,0]},{"t":110,"s":[400,688.161,0]}],"ix":2,"l":2},"a":{"a":0,"k":[154.361,437.091,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.4,0.4,0.4],"y":[1,1,1]},"o":{"x":[0.4,0.4,0.4],"y":[0,0,0]},"t":40,"s":[100,100,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.2,0.2,0.2],"y":[0,0,0]},"t":46,"s":[108,92,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":48,"s":[97,103,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":52,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":59,"s":[100,100,100]},{"i":{"x":[0.4,0.4,0.4],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":62,"s":[97,103,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,1]},"o":{"x":[0.6,0.6,0.6],"y":[0,0,0]},"t":64,"s":[104,96,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":65,"s":[97,103,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":68,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":75,"s":[100,100,100]},{"i":{"x":[0.4,0.4,0.4],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":78,"s":[97,103,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,1]},"o":{"x":[0.6,0.6,0.6],"y":[0,0,0]},"t":80,"s":[104,96,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":81,"s":[97,103,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":84,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":91,"s":[100,100,100]},{"i":{"x":[0.4,0.4,0.4],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":94,"s":[97,103,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,1]},"o":{"x":[0.6,0.6,0.6],"y":[0,0,0]},"t":96,"s":[104,96,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":97,"s":[97,103,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0,0,0]},"t":100,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":106,"s":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":109,"s":[97,103,100]},{"i":{"x":[0.4,0.4,0.4],"y":[1,1,1]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0]},"t":110,"s":[100,100,100]},{"i":{"x":[0.6,0.6,0.6],"y":[1,1,1]},"o":{"x":[0.6,0.6,0.6],"y":[0,0,0]},"t":112,"s":[106,94,100]},{"t":118,"s":[100,100,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[3.453,-3.201],[-1.963,-2.117],[-3.452,3.201],[1.964,2.117]],"o":[[-3.452,3.201],[1.964,2.118],[3.453,-3.201],[-1.963,-2.118]],"v":[[-3.555,-3.834],[-6.251,5.796],[2.984,3.537],[6.251,-5.796]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.929000016755,0.328999986836,0.513999968884,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[63.455,55.695],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[10.963,-4.189],[-2.315,-6.058],[-10.963,4.189],[2.315,6.058]],"o":[[-10.963,4.19],[2.316,6.058],[10.963,-4.19],[-2.314,-6.058]],"v":[[-4.191,-10.212],[-19.851,8.343],[2.496,9.347],[19.851,-6.829]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.929000016755,0.328999986836,0.513999968884,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[95.899,34.508],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"tr","p":{"a":0,"k":[152.194,155.243],"ix":2},"a":{"a":0,"k":[152.194,155.243],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":1,"k":[{"i":{"x":[0.4],"y":[1]},"o":{"x":[0.4],"y":[0]},"t":40,"s":[0]},{"i":{"x":[0],"y":[1]},"o":{"x":[0.2],"y":[0]},"t":46,"s":[3]},{"i":{"x":[0.9],"y":[1]},"o":{"x":[1],"y":[0]},"t":55,"s":[-3]},{"i":{"x":[0],"y":[1]},"o":{"x":[0.1],"y":[0]},"t":64,"s":[3]},{"i":{"x":[0.9],"y":[1]},"o":{"x":[1],"y":[0]},"t":71,"s":[-3]},{"i":{"x":[0],"y":[1]},"o":{"x":[0.1],"y":[0]},"t":80,"s":[3]},{"i":{"x":[0.9],"y":[1]},"o":{"x":[1],"y":[0]},"t":87,"s":[-3]},{"i":{"x":[0],"y":[1]},"o":{"x":[0.1],"y":[0]},"t":96,"s":[3]},{"i":{"x":[0.4],"y":[1]},"o":{"x":[1],"y":[0]},"t":103,"s":[-3]},{"i":{"x":[0.6],"y":[1]},"o":{"x":[0.6],"y":[0]},"t":112,"s":[3]},{"t":118,"s":[0]}],"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"reflection","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[95.484,-43.951],[-7.842,0],[-11.521,112.878]],"o":[[14.808,15.763],[31.58,0],[-21.598,106.812]],"v":[[-94.229,107.031],[-58.899,132.13],[94.229,-132.13]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.838999968884,0.195999998205,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[213.26,304.96],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[60.723,0],[25.115,-51.035],[0,0],[-18.981,0],[-14.166,-10.491],[0,0]],"o":[[-60.723,0],[0,0],[14.167,-10.491],[18.981,0],[0,0],[-25.115,-51.035]],"v":[[0,-43.08],[-138.349,43.08],[-50.675,43.08],[0,26.378],[50.675,43.08],[138.349,43.08]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.885999971278,0.2,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[154.361,43.33],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-30.656],[47.078,0],[0,47.079],[-24.288,15.021],[0,0],[0,-25.99],[-33.34,0],[0,114.015],[11.361,21.479],[0,0]],"o":[[0,47.079],[-47.079,0],[0,-30.656],[0,0],[-11.362,21.479],[0,114.015],[33.339,0],[0,-25.99],[0,0],[24.289,15.021]],"v":[[85.244,-104.799],[0.001,-19.556],[-85.242,-104.799],[-44.764,-177.34],[-136.305,-177.34],[-154.11,-105.389],[0.001,177.34],[154.11,-105.389],[136.307,-177.34],[44.765,-177.34]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.885999971278,0.2,0.361000001197,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[154.361,259.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":900,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"shadow","sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[400,688.16,0],"ix":2,"l":2},"a":{"a":0,"k":[102.93,18.585,0],"ix":1,"l":2},"s":{"a":1,"k":[{"i":{"x":[0.4,0.4,0.4],"y":[1,1,1]},"o":{"x":[0.4,0.4,0.4],"y":[0,0,0]},"t":40,"s":[90,90,100]},{"i":{"x":[0,0,0],"y":[1,1,1]},"o":{"x":[0.2,0.2,0.2],"y":[0,0,0]},"t":46,"s":[95,95,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[1,1,1],"y":[0,0,0]},"t":55,"s":[60,60,100]},{"i":{"x":[0,0,0],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":64,"s":[95,95,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[1,1,1],"y":[0,0,0]},"t":71,"s":[60,60,100]},{"i":{"x":[0,0,0],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":80,"s":[95,95,100]},{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[1,1,1],"y":[0,0,0]},"t":87,"s":[60,60,100]},{"i":{"x":[0,0,0],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":96,"s":[95,95,100]},{"i":{"x":[0.4,0.4,0.4],"y":[1,1,1]},"o":{"x":[1,1,1],"y":[0,0,0]},"t":103,"s":[60,60,100]},{"i":{"x":[0.6,0.6,0.6],"y":[1,1,1]},"o":{"x":[0.6,0.6,0.6],"y":[0,0,0]},"t":112,"s":[95,95,100]},{"t":118,"s":[90,90,100]}],"ix":6,"l":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-10.126],[56.709,0],[0,10.126],[-56.708,0]],"o":[[0,10.126],[-56.708,0],[0,-10.126],[56.709,0]],"v":[[102.68,0.001],[0,18.335],[-102.68,0.001],[0,-18.335]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.238999998803,0.071000005685,0.113999998803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[102.93,18.585],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":900,"st":0,"bm":0}],"markers":[]}'),S=(0,j.default)(()=>Promise.all([i.e(9066),i.e(8444)]).then(i.t.bind(i,28444,23)),{loadableGenerated:{webpack:()=>[28444]},ssr:!1});function N({onPickCountryAction:e}){let{language:t}=(0,r.n)(),i=n.P[t],[o,l]=(0,s.useState)([]),[c,x]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{let e=!0;return(async()=>{let t=await (0,m.X6)();e&&(l(Array.isArray(t)?t:t?.data??[]),x(!1))})(),()=>{e=!1}},[]),(0,a.jsxs)("div",{className:"flex flex-1 flex-col items-center gap-1 py-2 text-center animate-in fade-in slide-in-from-bottom-2 duration-300",children:[(0,a.jsx)("div",{className:"size-36 -my-2",children:(0,a.jsx)(S,{animationData:C,loop:!0,autoPlay:!0})}),(0,a.jsx)("h3",{className:"text-2xl md:text-lg font-bold text-white",children:i.outOfService.title}),(0,a.jsx)("p",{className:"max-w-[340px] text-xl md:text-sm leading-relaxed text-white/50",children:i.outOfService.description}),(0,a.jsx)("div",{className:"mt-5 w-full",children:c?(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-2",children:[72,96,80,110,88,100].map((e,t)=>(0,a.jsx)("div",{style:{width:e},className:"h-9 animate-pulse rounded-full bg-white/5"},t))}):(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:o.map(t=>(0,a.jsxs)("button",{type:"button",onClick:()=>e(t),className:" flex items-center gap-2 rounded-full bg-white/5 py-4 px-8 md:px-3 md:py-2 text-xl md:text-sm font-semibold text-white/80 border border-white/10 transition-colors hover:bg-white/10 hover:text-white cursor-pointer",children:[t.CountryIso2&&(0,a.jsx)("span",{className:"overflow-hidden rounded-[3px]",children:(0,a.jsx)(b.iF,{countryIso2:t.CountryIso2,countryName:t.CountryName??void 0,width:24,height:16})}),t.CountryName]},t.CountryIso2??t.CountryName))})})]})}var A=i(41641),E=i(21362);function G(){return(0,a.jsx)("div",{className:"flex flex-col gap-1.5 animate-in fade-in duration-300",children:[1,2,3,4,5].map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl bg-white/5 px-3 py-3",children:[(0,a.jsx)("div",{className:"size-9 shrink-0 animate-pulse rounded-full bg-white/10"}),(0,a.jsx)("div",{className:"h-3 w-1/2 animate-pulse rounded bg-white/10"})]},e))})}function P({country:e,onBack:t,onPick:i}){let{language:o}=(0,r.n)(),l=n.P[o],c=!!(e.CountryHasCity||e.CountryHasState),[x,u]=(0,s.use
1State)([]),[d,y]=(0,s.useState)(null),[p,g]=(0,s.useState)(!0),[v,w]=(0,s.useState)(!1),[j,C]=(0,s.useState)(""),[S,N]=(0,s.useState)("");(0,s.useEffect)(()=>{c||i({...e,IsInService:!0})},[e,c]),(0,s.useEffect)(()=>{let e=setTimeout(()=>{N(j.trim())},400);return()=>clearTimeout(e)},[j]);let D=`${e.CountryIso2}:${S}`;(0,s.useEffect)(()=>{let t=e.CountryIso2;if(!t||!c)return;let i=e.CountryHasCity?"cities":"states",a=!0;return(async()=>{let e=await (0,m.ns)(t,i,0,S,!0);if(!a)return;let s=Array.isArray(e)?e:e?.data??[];u(s),g(30===s.length),y(D)})(),()=>{a=!1}},[e,c,D]);let B=!!e.CountryHasCity,I=d!==D,V=(0,s.useCallback)(async()=>{if(I||v||!p)return;let t=e.CountryIso2;if(!t)return;let i=e.CountryHasCity?"cities":"states";w(!0);try{let e=await (0,m.ns)(t,i,x.length,S),a=Array.isArray(e)?e:e?.data??[];u(e=>[...e,...a]),g(30===a.length)}finally{w(!1)}},[e,x.length,S,I,v,p]);if(!c)return null;let T=B?l.giftingPlacePicker.select_city_title:l.giftingPlacePicker.select_state_title,F=B?l.giftingPlacePicker.search_city_placeholder:l.giftingPlacePicker.search_state_placeholder;return(0,a.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col gap-3 animate-in fade-in slide-in-from-bottom-2 duration-300",children:[(0,a.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-2 border-b-2 border-white/10",children:[(0,a.jsxs)("button",{type:"button",onClick:t,className:"flex cursor-pointer items-center gap-1.5 rounded-full px-3 py-2 text-lg md:text-sm font-medium text-white/70 transition-colors hover:bg-white/10 hover:text-white",children:[(0,a.jsx)(A.A,{className:"size-4 rtl:rotate-180"}),l.giftingPlacePicker.back]}),(0,a.jsx)("h3",{className:"shrink-0 px-1 text-lg md:text-base font-bold text-white mb-1",children:T}),(0,a.jsxs)("span",{className:"flex min-w-0 items-center gap-2 text-lg md:text-sm font-bold text-white/70",children:[e.CountryIso2&&(0,a.jsx)("span",{className:"shrink-0 overflow-hidden rounded-[3px]",children:(0,a.jsx)(b.iF,{countryIso2:e.CountryIso2,countryName:e.CountryName??void 0,width:20,height:15})}),(0,a.jsx)("span",{className:"truncate",children:e.CountryName})]})]}),(0,a.jsx)(h,{value:j,placeholder:F,onChange:C,onFocus:()=>{},onClear:()=>C("")}),I?(0,a.jsx)(G,{}):(0,a.jsxs)(k.P.ul,{onScroll:e=>{let t=e.currentTarget;t.scrollHeight-t.scrollTop-t.clientHeight<120&&V()},className:"flex max-h-full flex-col gap-1.5 overflow-y-auto custom-scrollbar-visible pr-1",initial:"hidden",animate:"visible",variants:{visible:{transition:{staggerChildren:.03}}},children:[0===x.length&&(0,a.jsx)("li",{className:"py-10 text-center text-sm italic text-white/30",children:l.giftingPlacePicker.no_results_found}),x.map((t,s)=>(0,a.jsx)(k.P.li,{variants:{hidden:{opacity:0,y:-6},visible:{opacity:1,y:0}},transition:{duration:.18,ease:"easeOut"},children:(0,a.jsxs)("button",{type:"button",onClick:()=>{i({...e,...t,CountryName:t.CountryName??e.CountryName??null,CountryIso2:t.CountryIso2??e.CountryIso2??null,CountryHasCity:e.CountryHasCity??t.CountryHasCity??null,CountryHasState:e.CountryHasState??t.CountryHasState??null,IsInService:!0})},className:"flex w-full cursor-pointer items-center gap-3 rounded-2xl bg-white/5 px-3 py-3 text-left border border-transparent transition-all duration-200 hover:bg-white/10 hover:border-white/10",children:[(0,a.jsx)("span",{className:"flex size-9 shrink-0 items-center justify-center rounded-full bg-white/10",children:(0,a.jsx)(f.A,{className:"size-4 text-white/70"})}),(0,a.jsx)("span",{className:"min-w-0 flex-1 truncate text-lg md:text-sm font-semibold text-white",children:t.CityName??t.StateName}),(0,a.jsx)(E.A,{className:"size-4 shrink-0 text-white/30 rtl:rotate-180"})]})},t.CityUId??t.StateUId??s)),v&&(0,a.jsx)("li",{className:"flex justify-center py-3",children:(0,a.jsx)("div",{className:"size-4 animate-spin rounded-full border-2 border-white/20 border-t-white/60"})})]},e.CountryIso2??"subplaces")]})}var D=i(11915),B=i(67021);function I({isActive:e,initialSelectedPlace:t,autoFocus:i=!0,onConfirm:c,surface:x}){let{language:u}=(0,r.n)(),d=n.P[u],[m,y]=(0,s.useState)(null),[p,k]=(0,s.useState)(null),{currentKeyword:f,setCurrentKeyword:b,isLoadingSuggestions:v,currentSuggestions:j,setIsFocused:C,isSuggestionsOpen:S,loadingDetailsId:A,getSugaryPlace:E,clearSuggestions:G}=(0,o.z)(u),V=(0,D.c)(e,f,j.length,x),T=x===B.S7.Checkout?B.Xe.CheckoutChange:B.Xe.UserPicked;(0,s.useEffect)(()=>{e&&(y(t??null),t&&"COUNTRY"===t.Level&&!1!==t.IsInService?k(t):k(null),G())},[e]);let F=async e=>{if(A)return;let t=await E(e);!t?.giftingPlace||(V(),(0,D.Z)(t.giftingPlace,{source:T,surface:x,query:f,fallbackLatitude:t.geoPlace.lat??null,fallbackLongitude:t.geoPlace.lng??null}),b(e.description),C(!1),y(t.giftingPlace),t.giftingPlace.IsInService&&(l.Q.getState().setIsAddressUnknown(!1),c(t.giftingPlace,t.geoPlace)))},$=e=>{k(e)};return(0,a.jsx)("div",{className:"flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto overflow-hidden",children:p?(0,a.jsx)(P,{country:p,onBack:()=>{k(null)},onPick:e=>{V(),(0,D.Z)(e,{source:T,surface:x}),l.Q.getState().setIsAddressUnknown(!0),y(e),c(e)}}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h,{autoFocus:i,value:f,placeholder:d.header.search_for_address,typewriterTexts:["Safa Street, Downtown Dubai","Business Bay, Dubai","Westminster, London","Bandra, Mumbai","Hawalli, Kuwait","Dhanmondi, Dhaka"],onChange:b,onFocus:()=>C(!0),onClear:G,onLocate:e=>{V(),(0,D.Z)(e,{source:T,surface:x}),C(!1),y(e),e.IsInService&&c(e)}}),S?(0,a.jsx)(g,{suggestions:j,isLoading:v,loadingDetailsId:A,onPick:F}):m&&!m.IsInService?(0,a.jsx)(N,{onPickCountryAction:$}):(0,a.jsx)(w,{onPickCountryAction:$})]})})}},62686:(e,t,i)=>{"use strict";i.d(t,{z:()=>x});var a=i(12115),s=i(9338);let r=["id","displayName","formattedAddress","shortFormattedAddress","location","viewport","addressComponents","types","primaryType","primaryTypeDisplayName"],n="AIzaSyA0HU7ga2DERnF_BndMhOi3n0jeYCmlWns",o=null,l=null;async function c(e){return await (window.google?.maps?.importLibrary?Promise.resolve():(!o&&(o=new Promise((t,i)=>{let a=()=>{window.google?.maps?.importLibrary?t():i(Error("Google Maps script loaded but google.maps.importLibrary is undefined — check API key / enabled APIs / referrer restrictions in Google Cloud Console."))},s=document.querySelector('script[src*="maps.googleapis.com"]');if(s){s.addEventListener("load",a),s.addEventListener("error",()=>i(Error("Failed to load Google Maps script")));return}if(!n)return void i(Error("NEXT_PUBLIC_GOOGLE_PLACES_API_KEY is missing — check your .env and restart the dev server."));let r=document.createElement("script");
1r.src=`https://maps.googleapis.com/maps/api/js?key=${n}&v=weekly&language=${e}`,r.async=!0,r.onload=a,r.onerror=()=>i(Error("Failed to load Google Maps script")),document.head.appendChild(r)})),o)),l||(l=google.maps.importLibrary("places")),l}function x(e,t){let[i,n]=(0,a.useState)(!1),[o,l]=(0,a.useState)(""),[x,u]=(0,a.useState)(""),[d,m]=(0,a.useState)(!1),[y,p]=(0,a.useState)([]),[h,k]=(0,a.useState)(t??!1),[f,g]=(0,a.useState)(null),b=(0,a.useRef)(null),v=(0,a.useRef)(0);(0,a.useEffect)(()=>{let e=setTimeout(()=>{u(o)},300);return()=>clearTimeout(e)},[o]);let w=(0,a.useCallback)(async t=>{let a=++v.current;if(!t){p([]),m(!1);return}m(!0);try{let{AutocompleteSuggestion:s,AutocompleteSessionToken:r}=await c(e);if(a!==v.current)return;i||n(!0),b.current||(b.current=new r);let{suggestions:o}=await s.fetchAutocompleteSuggestions({input:t,sessionToken:b.current,language:e});if(a!==v.current)return;let l=o.filter(e=>!!e.placePrediction).map(e=>({description:e.placePrediction.text.text,place_id:e.placePrediction.placeId,placePrediction:e.placePrediction}));p(l)}catch(e){console.error("Autocomplete request failed:",e),a===v.current&&p([])}finally{a===v.current&&m(!1)}},[e,i]);(0,a.useEffect)(()=>{w(x.trim())},[x,w]);let j=(0,a.useMemo)(()=>h&&o.trim().length>0&&(y.length>0||d),[h,o,y,d]),C=(0,a.useCallback)(async t=>{if(!t?.placePrediction)return null;try{let i=t.placePrediction.toPlace();if(await i.fetchFields({fields:r}),!i.location)return null;let a={placeId:i.id??t.place_id,displayName:i.displayName??"",formattedAddress:i.formattedAddress??"",shortFormattedAddress:i.shortFormattedAddress??null,lat:i.location.lat(),lng:i.location.lng(),viewport:i.viewport?.toJSON()??null,addressComponents:(i.addressComponents??[]).map(e=>({longText:e.longText,shortText:e.shortText,types:e.types??[]})),types:i.types??[],primaryType:i.primaryType??null,primaryTypeDisplayName:i.primaryTypeDisplayName??null},{AutocompleteSessionToken:s}=await c(e);return b.current=new s,a}catch(e){return console.error("Error fetching place details:",e),null}},[e]),S=(0,a.useCallback)(async e=>{if(!e?.place_id)return null;g(e.place_id);try{let t=await C(e);if(!t)return null;let i=await (0,s.L$)(t.lat,t.lng);if(!i)return null;return{geoPlace:t,giftingPlace:i}}catch(e){return console.error("Error fetching gifting place:",e),null}finally{g(null)}},[C]),N=(0,a.useCallback)(()=>{l(""),p([])},[]);return{currentKeyword:o,setCurrentKeyword:l,isLoadingSuggestions:d,currentSuggestions:y,isFocused:h,setIsFocused:k,isSuggestionsOpen:j,loadingDetailsId:f,getPlaceDetails:C,getSugaryPlace:S,clearSuggestions:N}}},63439:(e,t,i)=>{"use strict";i.d(t,{eJ:()=>r,iF:()=>n});var a=i(95155),s=i(74937);let r=e=>e?`/sugary-web-assets/icons/flags/${e.toLowerCase()}.svg`:"/sugary-web-assets/icons/flags/world.svg",n=({countryIso2:e,flagEmoji:t,countryName:i,width:n=24,height:o=18,className:l="object-cover",fill:c=!1})=>{let x=e||(t?(e=>{if(!e)return null;let t=[...e];if(t.length<2)return null;try{return t.map(e=>{let t=e.codePointAt(0);return t?String.fromCharCode(t-127397):""}).join("").toLowerCase()}catch(e){return console.log(e),null}})(t):null),u=x?r(x):"/sugary-web-assets/icons/flags/world.svg",d=i?`${i} flag`:"Country flag";return c?(0,a.jsx)(s.A,{src:u,alt:d,fill:!0,className:l}):(0,a.jsx)(s.A,{src:u,alt:d,width:n,height:o,className:l})}},63769:()=>{},85702:(e,t,i)=>{"use strict";i.d(t,{O:()=>n});let a="https://api.sugary.ae".replace(/\/+$/,"");class s extends Error{constructor(e,t){super(e),this.name="ApiError",this.status=t}}async function r(e,t){let i=e.startsWith("/")?`${a}${e}`:`${a}/${e}`,r=await fetch(i,{...t,headers:{"Content-Type":"application/json",...t.headers}});if(!r.ok)throw new s(`[${t.method}] ${e} → ${r.status}`,r.status);return r}let n={get:function(e,t={}){let i={method:"GET"};return t.cache&&(i.cache=t.cache),void 0!==t.revalidate&&(i.next={revalidate:t.revalidate}),r(e,i)},post:function(e,t,i={}){let a={method:"POST",body:void 0!==t?JSON.stringify(t):void 0};return i.cache&&(a.cache=i.cache),void 0!==i.revalidate&&(a.next={revalidate:i.revalidate}),r(e,a)}}}}]);

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.