PageSourceSearch

https://cdncontent.decathlon.in/_next/static/chunks/407.3103cbd453c383eb.js

js decathlon.in collected 2026-09-24 20:12:51 UTC 3,297 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[407],{20407:function(e,s,r){r.r(s);var i=r(11010),d=r(91309),n=r(97582),a=r(85893),l=r(67294),c=r(45697),t=r.n(c),o=r(3938),OrderAddressTabs=function(e){var s,r=e.shippingAddress,c=e.billingAddress,t=e.pickupLocationName,p=e.pickupLocationAddress,u=e.pickupLocationId,E=e.locationId,b=e.getStoreDetails,h=e.orderType,L=e.loading,j=e.setLoading,A=(0,d._)((0,l.useState)("TAKEAWAY"!==h?"Billing":"Store"),2),x=A[0],_=A[1],g=(0,d._)((0,l.useState)(c),2),f=g[0],C=g[1],m=(0,d._)((0,l.useState)(!1),2),N=m[0],O=m[1],v=(0,d._)((0,l.useState)(!1),2),S=v[0],k=v[1],T=(s=(0,i._)(function(){var e,s;return(0,n.Jh)(this,function(r){switch(r.label){case 0:if(!("DELIVERY"!==h&&"WH_HOME_DELIVERY"!==h&&"HUB_HOME_DELIVERY"!==h&&"STORE_HOME_DELIVERY"!==h&&"LOCKER"!==h&&(u||E)))return[3,2];return e="",e=u||E,[4,b("70".concat(e,"0").concat(e))];case 1:return s=r.sent(),"TAKEAWAY"===h&&C(s),k(s),j(!1),[3,3];case 2:j(!1),r.label=3;case 3:return[2]}})}),function(){return s.apply(this,arguments)});return(0,l.useEffect)(function(){N||(T(),O(!0))}),L?(0,a.jsx)(o.Z,{}):(0,a.jsxs)("div",{className:"h-full p-5 break-words bg-white rounded-lg shadow-md",children:[(0,a.jsxs)("ul",{className:"shipping-address p-0 RMoEMq flex list-none",children:["TAKEAWAY"!==h&&(0,a.jsx)("li",{onClick:function(){_("Billing"),C(c)},className:"WruKKa w-1/2 border-b border-soild FiGSpj ".concat("Billing"===x?"active":""),"aria-hidden":!0,children:"Billing Address"}),("DELIVERY"===h||"WH_HOME_DELIVERY"===h||"HUB_HOME_DELIVERY"===h||"STORE_HOME_DELIVERY"===h)&&(0,a.jsx)("li",{onClick:function(){_("Delivery"),C(r)},className:"WruKKa w-1/2 border-b border-soild FiGSpj ".concat("Delivery"===x?"active":""),"aria-hidden":!0,children:"Shipping Address"}),("RESERVE_COLLECT"===h||"CLICK_COLLECT"===h||"CLICK_CONNECT"===h||"TAKEAWAY"===h)&&(0,a.jsx)("li",{onClick:function(){_("Store"),C(S)},className:"WruKKa w-1/2  border-b border-soild FiGSpj ".concat("Store"===x||"TAKEAWAY"===h?"active":""),"aria-hidden":!0,children:"Store Address"}),"LOCKER"===h&&(0,a.jsx)("li",{onClick:function(){_("Locker")},className:"Locker"===x?"active":"","aria-hidden":!0,children:"Locker"})]}),"Billing"===x&&(0,a.jsx)("div",{className:"p-4 rounded-lg bg-purple-50",children:(0,a.jsxs)("p",{children:[f.givenName," ",f.familyName,(0,a.jsx)("br",{}),f.addressLine1," ",f.addressLine2,(0,a.jsx)("br",{}),f.city," ",f.state," ",f.postalCode,(0,a.jsx)("br",{}),f.phone]})}),"Delivery"===x&&(0,a.jsx)("div",{className:"p-4 rounded-lg bg-purple-50",children:(0,a.jsxs)("p",{children:[f.givenName," ",f.familyName,(0,a.jsx)("br",{}),f.addressLine1," ",f.addressLine2,(0,a.jsx)("br",{}),f.city," ",f.state," ",f.postalCode,(0,a.jsx)("br",{}),f.phone]})}),"Store"===x&&(0,a.jsx)("div",{className:"p-4 rounded-lg bg-purple-50",children:f?(0,a.jsxs)("p",{children:[f.name,(0,a.jsx)("br",{}),f.address_line1," ",f.address_line2,(0,a.jsx)("br",{}),f.city," ",f.state," ",f.postalCode,(0,a.jsx)("br",{}),f.phone]}):t}),"Locker"===x&&(0,a.jsx)("div",{className:"p-4 rounded-lg bg-purple-50",children:(0,a.jsxs)("p",{children:[t,(0,a.jsx)("br",{}),p]})})]})};OrderAddressTabs.propTypes={OrderAddressList:t().string},OrderAddressTabs.defaultProps={OrderAddressList:[]},s.default=OrderAddressTabs}}]);

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.