PageSourceSearch

https://yibby.ai/_expo/static/js/web/[slug]-47b6b7e6878a94ad0bc6c487cee5f291.js

js yibby.ai collected 2026-10-05 13:20:30 UTC 15,725 bytes, 1 lines download raw bytes

1__d(function(g,_r,_i,a,_m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return B}});var t=_r(d[0]),o=_r(d[1]),r=e(_r(d[2])),i=e(_r(d[3])),n=e(_r(d[4])),l=e(_r(d[5])),s=_r(d[6]),c=e(_r(d[7])),u=_r(d[8]),m=_r(d[9]),_=_r(d[10]),p=_r(d[11]),f=_r(d[12]),h=_r(d[13]),b=_r(d[14]),x=_r(d[15]),y=_r(d[16]),w=_r(d[17]),C=_r(d[18]),v=_r(d[19]);function S(e){if(!e)return null;const t=e.lastIndexOf('-');let o;o=-1===t?e:e.substring(t+1);const r=parseInt(o,10);return isNaN(r)||r<=0?null:r}function j(e,t){if(!e)return!0;return('her'===t?['female','unisex']:['male','unisex']).includes(e.toLowerCase())}function k(e){const r=(0,t.c)(25),{onPress:i,primaryColor:l,smallMobile:s}=e,[c,u]=(0,o.useState)(!1),[m,_]=(0,o.useState)(!1);let f,h,b,x;r[0]===Symbol.for("react.memo_cache_sentinel")?(f=()=>u(!0),h=()=>u(!1),b=()=>_(!0),x=()=>_(!1),r[0]=f,r[1]=h,r[2]=b,r[3]=x):(f=r[0],h=r[1],b=r[2],x=r[3]);const y=s?I.backButtonSmallMobile:void 0;let w,C;r[4]!==c||r[5]!==m?(w={transform:m?"translateY(1px)":c?"translateY(-1px)":"translateY(0)",boxShadow:m?"0px 0px 0 rgba(0,0,0,1)":c?"3px 3px 0 rgba(0,0,0,1)":"2px 2px 0 rgba(0,0,0,1)",transition:"transform 0.15s ease, box-shadow 0.15s ease"},r[4]=c,r[5]=m,r[6]=w):w=r[6],r[7]!==y||r[8]!==w?(C=[I.backButton,y,w],r[7]=y,r[8]=w,r[9]=C):C=r[9];const S=s?I.backArrowSmallMobile:void 0;let j,k;r[10]!==l?(j={color:l},r[10]=l,r[11]=j):j=r[11],r[12]!==S||r[13]!==j?(k=(0,v.jsx)(p.Text,{style:[I.backArrow,S,j],children:"\u2190"}),r[12]=S,r[13]=j,r[14]=k):k=r[14];const B=s?I.backTextSmallMobile:void 0;let T,P,M;return r[15]!==l?(T={color:l},r[15]=l,r[16]=T):T=r[16],r[17]!==B||r[18]!==T?(P=(0,v.jsx)(p.Text,{style:[I.backText,B,T],children:"Back to Shop"}),r[17]=B,r[18]=T,r[19]=P):P=r[19],r[20]!==i||r[21]!==k||r[22]!==P||r[23]!==C?(M=(0,v.jsxs)(n.default,{onPress:i,onHoverIn:f,onHoverOut:h,onPressIn:b,onPressOut:x,style:C,children:[k,P]}),r[20]=i,r[21]=k,r[22]=P,r[23]=C,r[24]=M):M=r[24],M}function B(){const e=(0,t.c)(186),{slug:i}=(0,s.useLocalSearchParams)(),n=(0,s.useRouter)(),{gender:B}=(0,y.useGenderContext)(),R=f.GenderTheme[B].primary,{width:W}=(0,l.default)(),O=W>=768;let F;e[0]!==W?(F=(0,h.isSmallMobile)(W),e[0]=W,e[1]=F):F=e[1];const E=F,G=(0,s.useLoaderData)(),N=G?.product??null,A=i||"";let U;e[2]!==A?(U=S(A),e[2]=A,e[3]=U):U=e[3];const L=U??N?.product_id??null,Q=!i;let Y;e[4]!==B||e[5]!==n?(Y=()=>{const e="her"===B?"/gifts-for-her/shop":"/gifts-for-him/shop";n.push(e)},e[4]=B,e[5]=n,e[6]=Y):Y=e[6];const q=Y,{data:V,isPending:$,error:J}=(0,w.useProductByProductId)(L),K=V??N,{data:X}=(0,C.useOntologies)();let Z;e[7]!==X?(Z=void 0===X?[]:X,e[7]=X,e[8]=Z):Z=e[8];const ee=Z,te=Q||$&&!N,oe=J?"Failed to load product":te||K?null:"Product not found",re=K?.slug,ie=K?.product_id,ne=K?.seller_slug;let le;
1e[9]!==re||e[10]!==ie||e[11]!==ne?(le=(0,x.buildProductUrlSlug)({slug:re,product_id:ie,seller_slug:ne}),e[9]=re,e[10]=ie,e[11]=ne,e[12]=le):le=e[12];const ae=le;let se,de;if(e[13]!==ae||e[14]!==n||e[15]!==i?(se=()=>{ae&&i!==ae&&n.replace({pathname:"/products/[slug]",params:{slug:ae}})},de=[ae,i,n],e[13]=ae,e[14]=n,e[15]=i,e[16]=se,e[17]=de):(se=e[16],de=e[17]),(0,o.useEffect)(se,de),te){let t;e[18]===Symbol.for("react.memo_cache_sentinel")?(t=(0,v.jsx)(r.default,{style:I.backButtonContainer,children:(0,v.jsx)(r.default,{style:{width:140,height:36,borderRadius:20,backgroundColor:f.Colors.gray[100]}})}),e[18]=t):t=e[18];const o=O&&I.mainSectionDesktop;let i;e[19]!==o?(i=[I.mainSection,o],e[19]=o,e[20]=i):i=e[20];const n=O&&I.mediaColumnDesktop;let l,s,c,m;e[21]!==n?(l=[I.mediaColumn,n],e[21]=n,e[22]=l):l=e[22],e[23]===Symbol.for("react.memo_cache_sentinel")?(s=(0,v.jsx)(r.default,{style:{aspectRatio:1,borderRadius:16,backgroundColor:f.Colors.gray[100]}}),e[23]=s):s=e[23],e[24]===Symbol.for("react.memo_cache_sentinel")?(c=(0,v.jsx)(r.default,{style:{flexDirection:"row",gap:12,marginTop:16},children:[1,2,3].map(D)}),e[24]=c):c=e[24],e[25]!==l?(m=(0,v.jsxs)(r.default,{style:l,children:[s,c]}),e[25]=l,e[26]=m):m=e[26];const _=O&&I.infoColumnDesktop;let p,h,b,x,y,w,C,S,j,k;return e[27]!==_?(p=[I.infoColumn,_],e[27]=_,e[28]=p):p=e[28],e[29]===Symbol.for("react.memo_cache_sentinel")?(h=(0,v.jsx)(r.default,{style:{width:100,height:14,borderRadius:4,backgroundColor:f.Colors.gray[100]}}),e[29]=h):h=e[29],e[30]===Symbol.for("react.memo_cache_sentinel")?(b=(0,v.jsx)(r.default,{style:{width:"80%",height:32,borderRadius:8,backgroundColor:f.Colors.gray[100],marginTop:16}}),e[30]=b):b=e[30],e[31]===Symbol.for("react.memo_cache_sentinel")?(x=(0,v.jsx)(r.default,{style:{width:120,height:28,borderRadius:8,backgroundColor:f.Colors.gray[100],marginTop:16}}),e[31]=x):x=e[31],e[32]===Symbol.for("react.memo_cache_sentinel")?(y=(0,v.jsx)(r.default,{style:{width:"100%",height:100,borderRadius:8,backgroundColor:f.Colors.gray[100],marginTop:24}}),e[32]=y):y=e[32],e[33]===Symbol.for("react.memo_cache_sentinel")?(w=(0,v.jsx)(r.default,{style:{width:"100%",height:48,borderRadius:24,backgroundColor:f.Colors.gray[100],marginTop:24}}),e[33]=w):w=e[33],e[34]!==p?(C=(0,v.jsxs)(r.default,{style:p,children:[h,b,x,y,w]}),e[34]=p,e[35]=C):C=e[35],e[36]!==i||e[37]!==m||e[38]!==C?(S=(0,v.jsxs)(r.default,{style:i,children:[m,C]}),e[36]=i,e[37]=m,e[38]=C,e[39]=S):S=e[39],e[40]===Symbol.for("react.memo_cache_sentinel")?(j=(0,v.jsx)(r.default,{style:I.sectionFull,children:(0,v.jsx)(r.default,{style:{height:200,borderRadius:12,backgroundColor:f.Colors.gray[100],marginTop:24}})}),e[40]=j):j=e[40],e[41]!==S?(k=(0,v.jsx)(u.PageWrapper,{scrollable:!0,children:(0,v.jsxs)(r.default,{style:I.container,children:[t,S,j]})}),e[41]=S,e[42]=k):k=e[42],k}if(oe||!K||!L){let t;e[43]===Symbol.for("react.memo_cache_sentinel")?(t=(0,v.jsxs)(c.default,{children:[(0,v.jsx)("meta",{name:"robots",content:"noindex"}),(0,v.jsx)("title",{children:"Product Not Found | Yibby"})]}),e[43]=t):t=e[43];const o=K?.name;let r;return e[44]!==o?(r=(0,v.jsxs)(u.PageWrapper,{children:[t,(0,v.jsx)(_.ProductUnavailable,{productName:o,reason:"not_found"})]}),e[44]=o,e[45]=r):r=e[45],r}const ce=K.sex;let ue;e[46]!==B||e[47]!==ce?(ue=j(ce,B),e[46]=B,e[47]=ce,e[48]=ue):ue=e[48];const ge=!ue,me="male"===ce?"Him":"female"===ce?"Her":null;let pe,fe,he,be,xe;if(e[49]!==K.great_for_tags||e[50]!==K.ontologies||e[51]!==K.product_media){let t;fe=K.product_media?.map(z)||[],0===fe.length&&fe.push({id:"placeholder",media_url:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Crect fill='%23e0e0e0' width='600' height='600'/%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-family='sans-serif' font-size='24' fill='%23666'%3ENo Image%3C/text%3E%3C/svg%3E",type:"image",sort_order:0}),e[57]!==K.ontologies?(t=K.ontologies||[],e[57]=K.ontologies,e[58]=t):t=e[58];const o=t,r=o.length>0?o[0]:null;let i,n;e[59]!==o?(i=o.map(H),e[59]=o,e[60]=i):i=e[60],pe=i,e[61]!==K.great_for_tags?(n=K.great_for_tags||[],e[61]=K.great_for_tags,e[62]=n):n=e[62];const l=n;let s;e[63]!==l?(s=l.map(M),e[63]=l,e[64]=s):s=e[64],be=s,he=r,xe=(0,b.getCdnImageUrl)(fe[0]?.media_url),e[49]=K.great_for_tags,e[50]=K.ontologies,e[51]=K.product_media,e[52]=pe,e[53]=fe,e[54]=he,e[55]=be,e[56]=xe}else pe=e[52],fe=e[53],he=e[54],be=e[55],xe=e[56];const ye=xe,we=K.name,Ce=K.unit_price,ve=K.description||void 0,Se=K.id,je=K.slug||void 0,ke=K.product_id,Be=K.seller_slug||null,Te=K.seller_data?.name,Pe=K.category_data?.name,Me=K.product_rating,He=K.review_count;let ze,De,Ie,Re,We;e[65]!==K.rating_1||e[66]!==K.review_1?(ze=K.review_1&&K.rating_1?{body:K.review_1,rating:K.rating_1}:null,e[65]=K.rating_1,e[66]=K.review_1,e[67]=ze):ze=e[67],e[68]!==K.rating_2||e[69]!==K.review_2?
1(De=K.review_2&&K.rating_2?{body:K.review_2,rating:K.rating_2}:null,e[68]=K.rating_2,e[69]=K.review_2,e[70]=De):De=e[70],e[71]!==K.rating_3||e[72]!==K.review_3?(Ie=K.review_3&&K.rating_3?{body:K.review_3,rating:K.rating_3}:null,e[71]=K.rating_3,e[72]=K.review_3,e[73]=Ie):Ie=e[73],e[74]!==ze||e[75]!==De||e[76]!==Ie?(Re=[ze,De,Ie].filter(P),e[74]=ze,e[75]=De,e[76]=Ie,e[77]=Re):Re=e[77],e[78]!==ye||e[79]!==K.id||e[80]!==K.name||e[81]!==K.product_id||e[82]!==K.product_rating||e[83]!==K.review_count||e[84]!==K.unit_price||e[85]!==ve||e[86]!==je||e[87]!==Be||e[88]!==Te||e[89]!==Pe||e[90]!==Re?(We=(0,v.jsx)(m.ProductPageSEO,{name:we,price:Ce,description:ve,image:ye,id:Se,slug:je,product_id:ke,seller_slug:Be,sellerName:Te,category:Pe,rating:Me,reviewCount:He,reviews:Re}),e[78]=ye,e[79]=K.id,e[80]=K.name,e[81]=K.product_id,e[82]=K.product_rating,e[83]=K.review_count,e[84]=K.unit_price,e[85]=ve,e[86]=je,e[87]=Be,e[88]=Te,e[89]=Pe,e[90]=Re,e[91]=We):We=e[91];const Oe="male"===K.sex?"him":"her";let Fe;e[92]===Symbol.for("react.memo_cache_sentinel")?(Fe={name:"Home",url:"/"},e[92]=Fe):Fe=e[92];const Ee="Gifts for "+("her"===Oe?"Her":"Him"),Ge=`/gifts-for-${Oe}`;let Ne;e[93]!==Ee||e[94]!==Ge?(Ne={name:Ee,url:Ge},e[93]=Ee,e[94]=Ge,e[95]=Ne):Ne=e[95];const Ae=`/gifts-for-${Oe}/shop`;let Ue,Le,Qe,Ye,qe;e[96]!==Ae?(Ue={name:"Shop",url:Ae},e[96]=Ae,e[97]=Ue):Ue=e[97],e[98]!==K?(Le=(0,x.buildProductUrl)({slug:K.slug,product_id:K.product_id,seller_slug:K.seller_slug})||"",e[98]=K,e[99]=Le):Le=e[99],e[100]!==K.name||e[101]!==Le?(Qe={name:K.name,url:Le},e[100]=K.name,e[101]=Le,e[102]=Qe):Qe=e[102],e[103]!==Ne||e[104]!==Ue||e[105]!==Qe?(Ye=(0,v.jsx)(m.BreadcrumbJsonLd,{items:[Fe,Ne,Ue,Qe]}),e[103]=Ne,e[104]=Ue,e[105]=Qe,e[106]=Ye):Ye=e[106],e[107]!==me||e[108]!==ge?(qe=ge&&me&&(0,v.jsx)(r.default,{style:I.genderBanner,children:(0,v.jsxs)(p.Text,{style:I.genderBannerText,children:["\u2728 This gift is curated for ",(0,v.jsx)(p.Text,{style:I.genderBannerBold,children:me})]})}),e[107]=me,e[108]=ge,e[109]=qe):qe=e[109];const Ve=E?I.backButtonContainerSmallMobile:void 0;let $e,Je,Ke;e[110]!==Ve?($e=[I.backButtonContainer,Ve],e[110]=Ve,e[111]=$e):$e=e[111],e[112]!==q||e[113]!==R||e[114]!==E?(Je=(0,v.jsx)(k,{onPress:q,primaryColor:R,smallMobile:E}),e[112]=q,e[113]=R,e[114]=E,e[115]=Je):Je=e[115],e[116]!==$e||e[117]!==Je?(Ke=(0,v.jsx)(r.default,{style:$e,children:Je}),e[116]=$e,e[117]=Je,e[118]=Ke):Ke=e[118];const Xe=O&&I.mainSectionDesktop,Ze=E?I.mainSectionSmallMobile:void 0;let et;e[119]!==Xe||e[120]!==Ze?(et=[I.mainSection,Xe,Ze],e[119]=Xe,e[120]=Ze,e[121]=et):et=e[121];const tt=O&&I.mediaColumnDesktop;let ot,rt,it;e[122]!==tt?(ot=[I.mediaColumn,tt],e[122]=tt,e[123]=ot):ot=e[123],e[124]!==fe||e[125]!==K.name?(rt=(0,v.jsx)(_.MediaGallery,{media:fe,productName:K.name}),e[124]=fe,e[125]=K.name,e[126]=rt):rt=e[126],e[127]!==ot||e[128]!==rt?(it=(0,v.jsx)(r.default,{style:ot,children:rt}),e[127]=ot,e[128]=rt,e[129]=it):it=e[129];const nt=O&&I.infoColumnDesktop;let lt;e[130]!==nt?(lt=[I.infoColumn,nt],e[130]=nt,e[131]=lt):lt=e[131];const at=K.on_sale??!1,st=he?.quote??null,dt=K.is_active??!0;let ct,ut,gt,mt;e[132]!==pe||e[133]!==be||e[134]!==K.description||e[135]!==K.id||e[136]!==K.name||e[137]!==K.original_price||e[138]!==K.seller_data||e[139]!==K.source||e[140]!==K.unit_price||e[141]!==K.url||e[142]!==at||e[143]!==st||e[144]!==dt?(ct=(0,v.jsx)(_.ProductInfo,{id:K.id,name:K.name,price:K.unit_price,originalPrice:K.original_price,description:K.description,merchantUrl:K.url,ontologies:pe,isOnSale:at,quote:st,perfectFor:be,isActive:dt,source:K.source,sellerData:K.seller_data}),e[132]=pe,e[133]=be,e[134]=K.description,e[135]=K.id,e[136]=K.name,e[137]=K.original_price,e[138]=K.seller_data,e[139]=K.source,e[140]=K.unit_price,e[141]=K.url,e[142]=at,e[143]=st,e[144]=dt,e[145]=ct):ct=e[145],e[146]!==lt||e[147]!==ct?(ut=(0,v.jsx)(r.default,{style:lt,children:ct}),e[146]=lt,e[147]=ct,e[148]=ut):ut=e[148],e[149]!==et||e[150]!==it||e[151]!==ut?(gt=(0,v.jsxs)(r.default,{style:et,children:[it,ut]}),e[149]=et,e[150]=it,e[151]=ut,e[152]=gt):gt=e[152],e[153]!==ee||e[154]!==he||e[155]!==E?(mt=he&&(0,v.jsx)(r.default,{style:[I.sectionFull,E?I.sectionSmallMobile:void 0],children:(0,v.jsx)(_.MeaningSection,{idealRecipients:he.ideal_recipients,giftingOccasions:he.gifting_occasions,ontologyQuote:he.quote,currentOntology:he.name,relatedOntologies:ee.map(T)})}),e[153]=ee,e[154]=he,e[155]=E,e[156]=mt):mt=e[156];const _t=E?I.sectionSmallMobile:void 0;let pt,ft,ht,bt,xt,yt,wt;return e[157]!==_t?(pt=[I.section,_t],e[157]=_t,e[158]=pt):pt=e[158],e[159]!==K.rating_1||e[160]!==K.rating_2||e[161]!==K.rating_3||e[162]!==K.review_1||e[163]!==K.review_2||e[164]!==K.review_3?(ft={review_1:K.review_1,review_2:K.review_2,review_3:K.review_3,rating_1:K.rating_1,rating_2:K.rating_2,rating_3:K.rating_3},e[159]=K.rating_1,e[160]=K.rating_2,e[161]=K.rating_3,e[162]=K.review_1,e[163]=K.review_2,e[164]=K.review_3,e[165]=ft):ft=e[165],e[166]!==K.id||e[167]!==ft||e[168]!==i?(ht=(0,v.jsx)(_.GiftGiverStories,{productId:K.id,productSlug:i,embeddedReviews:ft}),e[166]=K.id,e[167]=ft,e[168]=i,e[169]=ht):ht=e[169],e[170]!==pt||e[171]!==ht?(bt=(0,v.jsx)(r.default,{style:pt,children:ht}),e[170]=pt,e[171]=ht,e[172]=bt):bt=e[172],e[173]!==K.id?(xt=(0,v.jsx)(_.SimilarGifts,{productId:K.id,excludeId:K.id}),e[173]=K.id,e[174]=xt):xt=e[174],e[175]!==Ke||e[176]!==gt||e[177]!==mt||e[178]!==bt||e[179]!==xt?(yt=(0,v.jsxs)(r.default,{style:I.container,children:[Ke,gt,mt,bt,xt]}),e[175]=Ke,e[176]=gt,e[177]=mt,e[178]=bt,e[179]=xt,e[180]=yt):yt=e[180],e[181]!==We||e[182]!==Ye||e[183]!==qe||e[184]!==yt?(wt=(0,v.jsxs)(u.PageWrapper,{scrollable:!0,children:[We,Ye,qe,yt]}),e[181]=We,e[182]=Ye,e[183]=qe,e[184]=yt,e[185]=wt):wt=e[185],wt}function T(e){return e.name}function P(e){return null!==e}function M(e){return e.name}function H(e){return{name:e.name,badge_color:e.badge_color,slug:e.slug}}function z(e){return{id:e.id,media_url:e.media_url,type:e.type||"image",sort_order:e.sort_order??0}}function D(e){return(0,v.jsx)(r.default,{style:{width:64,height:64,borderRadius:10,backgroundColor:f.Colors.gray[100]}},e)}const I=i.default.create({genderBanner:{backgroundColor:f.Colors.gray[100],paddingVertical:10,paddingHorizontal:16,alignItems:'center',borderBottomWidth:1,borderBottomColor:f.Colors.gray[200]},genderBannerText:{fontFamily:'Quicksand_500Medium',fontSize:14,color:f.Colors.gray[600]},genderBannerBold:{fontFamily:'Quicksand_700Bold',fontWeight:'700'},container:{flex:1},backButtonContainer:{maxWidth:1400,marginHorizontal:'auto',width:'100%',paddingHorizontal:24,paddingTop:24},backButton:{flexDirection:'row',alignItems:'center',alignSelf:'flex-start',gap:8,paddingVertical:8,paddingHorizontal:16,backgroundColor:f.Colors.white,borderRadius:20,borderWidth:2,borderColor:f.Colors.black,cursor:'pointer'},backArrow:{fontSize:18,fontWeight:'700'},backText:{fontFamily:'Quicksand_700Bold',fontSize:14,fontWeight:'700'},loadingContainer:{flex:1,justifyContent:'center',alignItems:'center',padding:64,minHeight:400},loadingText:{marginTop:16,color:f.Colors.gray[500]},mainSection:{flexDirection:'column',gap:24,padding:16,maxWidth:1400,marginHorizontal:'auto',width:'100%'},mainSectionDesktop:{flexDirection:'row',gap:40,padding:24},mediaColumn:{width:'100%'},mediaColumnDesktop:{flex:1,maxWidth:600},infoColumn:{paddingTop:16},infoColumnDesktop:{flex:1,paddingTop:0},section:{paddingHorizontal:16,maxWidth:1400,marginHorizontal:'auto',width:'100%'},sectionFull:{paddingHorizontal:16,maxWidth:1400,marginHorizontal:'auto',width:'100%'},backButtonContainerSmallMobile:{paddingHorizontal:12,paddingTop:12},backButtonSmallMobile:{paddingVertical:6,paddingHorizontal:12,gap:6},backArrowSmallMobile:{fontSize:14},backTextSmallMobile:{fontSize:12},mainSectionSmallMobile:{padding:12,gap:16},sectionSmallMobile:{paddingHorizontal:12}})},1032,[1528,39,311,209,418,443,79,737,742,902,1033,744,745,877,891,893,750,863,811,2]);

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.