PageSourceSearch

https://www.dmfluxury.com/_next/static/chunks/6636-58e8f91ac4aed013.js

js dmfluxury.com collected 2026-10-07 15:45:39 UTC 19,209 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6636],{76636:function(e,t,i){"use strict";i.r(t),i.d(t,{SectionByComponentSection:function(){return T}});var l=i(57437),o=i(2265),s=i(54887),n=i(41750),a=i(16822),c=i(94079),r=i(35505),d=i(59010),u=i(40823),p=i(66273),v=i(74988),h=i(47944),m=i(64854),b=i(68646);i(73759);var x=i(57590),j=i(26721),f=i(59210),g=i(15689);let y=f.h_;function w(e){var t,i,l,o,s;return(null===(l=e.images)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:null===(t=i.asset)||void 0===t?void 0:t.url)?e.images[0].asset.url:(null===(s=e.imageInfo)||void 0===s?void 0:null===(o=s[0])||void 0===o?void 0:o.src)?e.imageInfo[0].src:null}function k(e,t){return!0!==e.isPresale&&"draft"!==e.status&&"archived"!==e.status&&(null==t?void 0:t.purchasable)!==!1}function N(e){var t,i,s,n,c;let{product:d,isSalesTool:p,catalogPrice:v,priceLoading:m,isLoggedIn:x,isOos:j,disabledInfo:f}=e;if(!x)return(0,l.jsxs)("a",{href:"/pages/contact",className:"gc-contact-btn",style:{marginTop:"16px",width:"max-content"},children:[(0,l.jsx)("span",{children:"Contact us"}),(0,l.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M3.75 9H14.25M14.25 9L9.75 4.5M14.25 9L9.75 13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]});let{showToast:y}=(0,r.p)(),{currentLocation:k}=(0,u.T)(),[N,_]=(0,o.useState)(1),[S,C]=(0,o.useState)(""),[L,I]=(0,o.useState)(""),[T,M]=(0,o.useState)(null),[P,E]=(0,o.useState)([]),[F,B]=(0,o.useState)(!1),[H,Z]=(0,o.useState)(!1),[A,q]=(0,o.useState)(!1),[D,O]=(0,o.useState)(null),U=o.useRef(null);async function R(){if(!T){let e="Please select a project first";O({type:"error",message:e}),(0,g.trackError)("add_to_project_error",{source:"inline",component:"SectionByComponentSection",context:"add_to_project",message:e,page:window.location.pathname});return}Z(!0),O(null);try{var e,t;let i=null===(e=d.variants)||void 0===e?void 0:e[0],l=w(d),o=(null==i?void 0:i.shopifyVariantId)||(null==i?void 0:i.sku)||null,s=[];(null==i?void 0:i.sku)&&s.push({key:"SKU",value:i.sku}),(null==i?void 0:i.title)&&"Default Title"!==i.title&&s.push({key:"Variant",value:i.title});let n=await fetch("/api/projects/".concat(T.id,"/items"),{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({product_title:d.title||"Untitled Product",product_id:d._id||null,variant_id:o,sku:(null==i?void 0:i.sku)||null,handle:d.handle||null,product_image:l||null,fixture_type:S||null,price:null!==(t=null!=v?v:null==i?void 0:i.price)&&void 0!==t?t:0,compare_at_price:null!=v&&(null==i?void 0:i.price)!=null&&i.price>v?i.price:void 0,quantity:N,original_quantity:N,order_quantity:0,shopify_location_id:(null==k?void 0:k.shopifyCompanyLocationId)||void 0,properties:s,is_bundle:!1})});if(!n.ok){let e=(await n.json().catch(()=>({}))).error||"Failed to add to project";O({type:"error",message:e}),(0,g.trackError)("add_to_project_error",{source:"inline",component:"SectionByComponentSection",context:"add_to_project",message:e,page:window.location.pathname});return}O({type:"success",message:'Added to "'.concat(T.project_name,'"')}),setTimeout(()=>O(null),3e3)}catch(e){O({type:"error",message:"Failed to add to project"}),(0,g.trackError)("add_to_project_error",{source:"inline",component:"SectionByComponentSection",context:"add_to_project",message:"Failed to add to project",page:window.location.pathname})}finally{Z(!1)}}async function V(){var e,t;if(A||(null==f?void 0:f.disableAddToCart))return;let i=null===(e=d.variants)||void 0===e?void 0:e[0];if(!i){y("This product cannot be added to cart yet.","error");return}let l=d._id||d.title,o=i.shopifyVariantId||i.sku||"".concat(l||"product","-default-variant");if(!l||!o){y("This product is missing cart identifiers.","error");return}q(!0);try{await (0,a.Xq)({productId:l,variantId:o,title:d.title||"Untitled Product",handle:d.handle||void 0,imageUrl:w(d)||"",quantity:N,price:null!==(t=null!=v?v:i.price)&&void 0!==t?t:0,compareAtPrice:null!=v&&null!=i.price&&i.price>v?i.price:void 0,fixtureType:S||void 0,sku:(null==i?void 0:i.sku)||void 0,requiresShipping:null==i?void 0:i.requiresShipping})}catch(e){console.error("[SectionByComponentSection] add to cart error:",e),y("Failed to add to cart","error")}finally{q(!1)}}return o.useEffect(()=>{if(!L.trim()){E([]);return}let e=setTimeout(async()=>{try{let e=(null==k?void 0:k.shopifyCompanyLocationId)?"&shopify_location_id=".concat(encodeURIComponent(k.shopifyCompanyLocationId)):"",t="?search=".concat(encodeURIComponent(L.trim()),"&limit=20").concat(e),i=await fetch("/api/projects".concat(t),{credentials:"include"});if(i.ok){let e=await i.json();E(e.projects||[])}}catch(e){}},300);return()=>clearTimeout(e)},[L,null==k?void 0:k.shopifyCompanyLocationId]),o.useEffect(()=>{function e(e){U.current&&!U.current.contains(e.target)&&B(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,l.jsxs)("div",{className:"sbc-controls",children:[!p&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"sbc-fixture-div",children:[(0,l.jsxs)("label",{className:"sbc-field-label",children:["Fixture Type"," ",(0,l.jsx)("span",{className:"sbc-field-label-optional",children:"(optional)"})]}),(0,l.jsx)("input",{type:"text",placeholder:"Enter Fixture Type",className:"sbc-input-fixture-type",maxLength:25,value:S,onChange:e=>C(e.target.value)})]}),(0,l.jsxs)("div",{className:"sbc-project-search-wrapper",ref:U,children:[(0,l.jsx)("input",{type:"text",placeholder:"Search and select a project",className:"sbc-input-search-type",value:T?T.project_name:L,onChange:e=>{I(e.target.value),M(null),B(!0)},onFocus:()=>B(!0)}),F&&P.length>0&&(0,l.jsx)("div",{className:"sbc-project-dropdown",children:P.map(e=>(0,l.jsx)("button",{type:"button",className:"sbc-project-dropdown-item".concat((null==T?void 0:T.id)===e.id?" sbc-project-dropdown-item--active":""),onClick:()=>{M(e),I(e.project_name),B(!1)},children:e.project_name},e.id))})]}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",className:"sbc-pill-btn sbcMobAPbtn",onClick:R,disabled:H,children:H?"Adding…":"Add to Project"})}),D&&(0,l.jsx)("p",{className:"sbc-feedback ".concat("success"===D.type?"sbc-feedback--success":"sbc-feedback--error"),children:D.message})]}),(0,l.jsxs)("div",{className:"sbc-qty-row",children:[(0,l.jsx)(b.B,{value:N,onChange:e=>_("number"==typeof e?e:1)}),(null==f?void 0:f.disableAddToCart)?(0,l.jsx)("button",{type:"button",className:"sbc-pill-btn",disabled:!0,children:f.ctaLabelText||"Contact Us to Order"}):j?(0,l.jsxs)("button",{type:"button",className:"sbc-pill-btn",disabled:!0,children:["Out of Stock",(0,l.jsxs)("svg",{width:"19",height:"19",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M2 11.6375H20.0582H2Z",fill:"white"}),(0,l.jsx)("path",{d:"M14.5345 6.4502L20.0582 11.6375L14.5345 6.4502Z",fill:"white"}),(0,l.jsx)("path",{d:"M14.5345 16.8602L20.0582 11.6375L14.5345 16.8602Z",fill:"white"}),(0,l.jsx)("path",{d:"M2 11.6375H20.0582M20.0582 11.6375L14.5345 6.4502M20.0582 11.6375L14.5345 16.8602",stroke:"white","stroke-width":"1.5","stroke-miterlimit":"10"})]})]}):(0,l.jsxs)("button",{type:"button",className:"sbc-pill-btn",onClick:V,disabled:A||!(null===(t=d.variants)||void 0===t?void 0:t[0])||m,"data-
1ph-capture-attribute-product-name":(null==d?void 0:d.title)||"","data-ph-capture-attribute-product-price":null!=v?String(v):String((null===(s=d.variants)||void 0===s?void 0:null===(i=s[0])||void 0===i?void 0:i.price)||""),children:[A?"Adding...":"Add to Cart",(0,l.jsxs)("svg",{width:"19",height:"19",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M2 11.6375H20.0582H2Z",fill:"white"}),(0,l.jsx)("path",{d:"M14.5345 6.4502L20.0582 11.6375L14.5345 6.4502Z",fill:"white"}),(0,l.jsx)("path",{d:"M14.5345 16.8602L20.0582 11.6375L14.5345 16.8602Z",fill:"white"}),(0,l.jsx)("path",{d:"M2 11.6375H20.0582M20.0582 11.6375L14.5345 6.4502M20.0582 11.6375L14.5345 16.8602",stroke:"white","stroke-width":"1.5","stroke-miterlimit":"10"})]})]})]}),!j&&(0,l.jsx)(h.ZP,{handle:d.handle,sku:null===(c=d.variants)||void 0===c?void 0:null===(n=c[0])||void 0===n?void 0:n.sku,quantity:N,context:"pdp"})]})}function _(e){let{productName:t,productHandle:i,skuId:o,getExtrasJson:n,onClose:a}=e;return"undefined"==typeof document?null:(0,s.createPortal)((0,l.jsx)("div",{className:"sbc-modal-overlay",onClick:a,children:(0,l.jsxs)("div",{className:"sbc-notify-modal",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{type:"button",onClick:a,className:"sbc-modal-close",children:"\xd7"}),(0,l.jsxs)("div",{className:"sbc-notify-modal-header",children:[(0,l.jsx)("span",{className:"sbc-notify-bell","aria-hidden":"true",children:(0,l.jsx)("svg",{id:"form-Header-Icon",width:"25",height:"25",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{fillRule:"evenodd",fill:"currentColor",d:"m7.252 14.424-2.446-.281c-1.855-.213-2.38-2.659-.778-3.616l.065-.038a2.887 2.887 0 0 0 1.407-2.48v-.509a4.5 4.5 0 0 1 9 0v.51c0 1.016.535 1.958 1.408 2.479l.065.038c1.602.957 1.076 3.403-.778 3.616l-2.543.292v.365a2.7 2.7 0 0 1-5.4 0v-.376Zm3.9.076h-2.4v.3a1.2 1.2 0 0 0 2.4 0v-.3Z"})})}),(0,l.jsx)("h2",{className:"sbc-notify-title",children:"Notify me when available"})]}),t&&(0,l.jsx)("p",{className:"sbc-notify-product-name",children:t}),(0,l.jsx)("p",{className:"sbc-notify-desc",children:"Get notified when this product is in stock or available to order by signing up below!"}),(0,l.jsx)(v.Z,{productHandle:null!=i?i:"",productTitle:t,skuId:null!=o?o:null,getExtrasJson:n,inline:!0})]})}),document.body)}function S(e){var t,i,s,n,a,c,r,d,u,v;let{product:h,onViewMore:b,onNotifyMe:x,isSalesTool:j,presaleLoading:f,isLoggedIn:g,invBatch:y,disabledInfo:_}=e,S=w(h),C=null===(i=h.variants)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.sku,L=C?null==y?void 0:y[C]:void 0,I=k(h,L),T=(null==L?void 0:L.purchasable)===!1,M=null===(n=h.variants)||void 0===n?void 0:null===(s=n[0])||void 0===s?void 0:s.price,[P,E]=(0,o.useState)(null),[F,B]=(0,o.useState)(!1);return(0,l.jsxs)("div",{className:"sbc-product-row",children:[(0,l.jsx)("div",{className:"sbc-product-image-col",children:S?(0,l.jsx)("img",{src:S,alt:(null===(c=h.imageInfo)||void 0===c?void 0:null===(a=c[0])||void 0===a?void 0:a.alt)||h.title||"Product",className:"sbc-product-image"}):(0,l.jsx)("div",{className:"sbc-product-image-placeholder"})}),(0,l.jsxs)("div",{className:"sbc-product-info",children:[(0,l.jsx)("h3",{className:"sbc-product-name",children:h.title}),C&&(0,l.jsxs)("p",{className:"sbc-product-sku",children:["SKU: ",C]}),g&&C&&(0,l.jsx)(m.Z,{sku:C,quantity:1}),h.productType&&(0,l.jsx)("p",{className:"sbc-product-type",children:h.productType}),(0,l.jsxs)("div",{className:"sbc-product-type-div",children:[null!=M&&(0,l.jsx)(p.Z,{shopifyProductId:h.shopifyId,variantId:null===(d=h.variants)||void 0===d?void 0:null===(r=d[0])||void 0===r?void 0:r.shopifyVariantId,sku:null===(v=h.variants)||void 0===v?void 0:null===(u=v[0])||void 0===u?void 0:u.sku,msrpFallback:M,showCompareAt:!0,className:"sbc-product-price",onPriceResolved:e=>E(e),onLoadingChange:e=>B(e)}),(0,l.jsx)("div",{className:"sbc-view-more-row",children:(0,l.jsx)("button",{type:"button",onClick:g?b:void 0,className:"sbc-view-more-btn",style:g?void 0:{pointerEvents:"none",opacity:.4,cursor:"default"},"aria-disabled":!g,children:"+ VIEW MORE"})})]}),(0,l.jsx)("hr",{className:"sbc-divider"}),h.overview&&(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"sbc-overview-div",children:[(0,l.jsx)("p",{className:"sbc-product-overview-label",children:"Overview"}),(0,l.jsx)("p",{className:"sbc-product-overview",children:h.overview})]})}),g?!f&&(I?(0,l.jsx)(N,{product:h,isSalesTool:j,catalogPrice:P,priceLoading:F,isLoggedIn:g,isOos:T,disabledInfo:_}):(0,l.jsx)("div",{className:"sbc-nmwa-btn-div",children:(0,l.jsx)("button",{type:"button",className:"sbc-pill-btn",onClick:x,children:"Notify Me When Available"})})):(0,l.jsxs)("a",{href:"/pages/contact",className:"gc-contact-btn",style:{marginTop:"16px",width:"max-content"},children:[(0,l.jsx)("span",{children:"Contact us"}),(0,l.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M3.75 9H14.25M14.25 9L9.75 4.5M14.25 9L9.75 13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})}function C(e){let{text:t}=e;return(0,l.jsx)("p",{className:"sbc-section-label",children:t})}function L(){return(0,x.Sv)(),(0,l.jsx)("hr",{className:"sbc-modal-divider"})}function I(e){var t,i,a,c,r,u,v,h,b,x;let{product:j,onClose:f,onNotifyMe:g,isSalesTool:y,invBatch:_,disabledInfo:S}=e,I=w(j),T=null===(i=j.variants)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.sku,M=T?null==_?void 0:_[T]:void 0,P=k(j,M),E=(null==M?void 0:M.purchasable)===!1,F=null===(c=j.variants)||void 0===c?void 0:null===(a=c[0])||void 0===a?void 0:a.price,[B,H
1]=(0,o.useState)(null),[Z,A]=(0,o.useState)(!1),{user:q}=(0,d.a)();return"undefined"==typeof document?null:(0,s.createPortal)((0,l.jsx)("div",{className:"sbc-modal-overlay",onClick:f,children:(0,l.jsxs)("div",{className:"sbc-modal",onClick:e=>e.stopPropagation(),children:[(0,l.jsx)("button",{type:"button",onClick:f,className:"sbc-modal-close",children:"\xd7"}),(0,l.jsxs)("div",{className:"sbc-modal-body",children:[(0,l.jsx)("div",{className:"sbc-modal-image-col",children:I?(0,l.jsx)("img",{src:I,alt:(null===(u=j.imageInfo)||void 0===u?void 0:null===(r=u[0])||void 0===r?void 0:r.alt)||j.title||"Product",className:"sbc-modal-image"}):(0,l.jsx)("div",{className:"sbc-modal-image-placeholder"})}),(0,l.jsxs)("div",{className:"sbc-modal-info",children:[(0,l.jsx)("h2",{className:"sbc-modal-product-name",children:j.title}),T&&(0,l.jsxs)("p",{className:"sbc-modal-sku",children:["SKU: ",T]}),q&&T&&(0,l.jsx)(m.Z,{sku:T,quantity:1}),j.productType&&(0,l.jsx)("p",{className:"sbc-modal-product-type",children:j.productType}),null!=F&&(0,l.jsx)(p.Z,{shopifyProductId:j.shopifyId,variantId:null===(h=j.variants)||void 0===h?void 0:null===(v=h[0])||void 0===v?void 0:v.shopifyVariantId,sku:null===(x=j.variants)||void 0===x?void 0:null===(b=x[0])||void 0===b?void 0:b.sku,msrpFallback:F,showCompareAt:!0,className:"sbc-modal-price",onPriceResolved:e=>H(e),onLoadingChange:e=>A(e)}),(0,l.jsx)(L,{}),j.overview&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(C,{text:"Overview"}),(0,l.jsx)("p",{className:"sbc-modal-text",children:j.overview})]}),j.description&&j.description.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(L,{}),(0,l.jsx)(C,{text:"Description"}),(0,l.jsx)("div",{className:"sbc-modal-text",dangerouslySetInnerHTML:{__html:(0,n.I1)(j.description)}})]}),j.richDescription&&j.richDescription.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(L,{}),(0,l.jsx)("div",{className:"sbc-modal-text sbc-modal-richtext",dangerouslySetInnerHTML:{__html:(0,n.I1)(j.richDescription)}})]}),(0,l.jsx)(L,{}),P?(0,l.jsx)(N,{product:j,isSalesTool:y,catalogPrice:B,priceLoading:Z,isLoggedIn:!!q,isOos:E,disabledInfo:S}):q?(0,l.jsx)("button",{type:"button",className:"sbc-pill-btn",onClick:g,children:"Notify Me When Available"}):(0,l.jsxs)("a",{href:"/pages/contact",className:"gc-contact-btn",style:{marginTop:"16px",width:"max-content"},children:[(0,l.jsx)("span",{children:"Contact us"}),(0,l.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M3.75 9H14.25M14.25 9L9.75 4.5M14.25 9L9.75 13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})]})}),document.body)}function T(e){var t,i,s,n;let{section:a}=e,{user:r}=(0,d.a)(),[u,p]=(0,o.useState)(null),[v,h]=(0,o.useState)(null),[m,b]=(0,o.useState)({}),[x,f]=(0,o.useState)(!0),[g,w]=(0,o.useState)({}),k=a.products||[],{map:N}=(0,j.Dw)(k.map(e=>e.handle).filter(e=>!!e));(0,o.useEffect)(()=>{let e=k.map(e=>e.handle).filter(e=>"string"==typeof e&&e.length>0),t=k.filter(e=>!e.handle&&e.shopifyId).map(e=>e.shopifyId.replace(/^gid:\/\/shopify\/Product\//i,"").replace(/\D/g,"")).filter(e=>/^\d+$/.test(e));if(0===e.length&&0===t.length){f(!1);return}let i=new URLSearchParams;e.length>0&&i.set("handles",e.join(",")),t.length>0&&i.set("productIds",t.join(",")),fetch("/api/presale/batch-status?".concat(i.toString())).then(e=>e.ok?e.json():{}).then(e=>b(e)).catch(()=>{}).finally(()=>f(!1))},[]),(0,o.useEffect)(()=>{let e=k.map(e=>{var t,i;return null===(i=e.variants)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.sku}).filter(e=>!!e);if(0===e.length)return;let t=!1;return(0,c.dS)(e).then(e=>{t||w(e)}),()=>{t=!0}},[]);let C=a.page_title,L=a.compatibility_note,T=null!==(n=a.no_of_products)&&void 0!==n?n:k.length,M=!0===a.isSalesTool,[P,E]=(0,o.useState)(T);if(!C&&!L&&0===k.length)return null;let F=k.slice(0,P),B=P<k.length,H=u?k.find((e,t)=>(e._key||"product-".concat(t))===u):null;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("link",{rel:"stylesheet",href:"/styles-min/cms/theme/configurator-shared-atoms.css?v=".concat(y),precedence:"default"}),(0,l.jsxs)("section",{id:a.section_id||void 0,className:"sbc-section",children:[(0,l.jsxs)("div",{className:"sbc-container",children:[C&&
1(0,l.jsx)("h1",{className:"sbc-page-title header_title",children:C}),L&&(0,l.jsx)("p",{className:"sbc-compat-note",children:L}),F.map((e,t)=>{var i;let s=e._key||"product-".concat(t),n=e.handle||(null===(i=e.shopifyId)||void 0===i?void 0:i.replace(/^gid:\/\/shopify\/Product\//i,"").replace(/\D/g,""))||"",a=n in m?{...e,isPresale:m[n]}:e;return(0,l.jsx)(o.Fragment,{children:(0,l.jsx)(S,{product:a,onViewMore:()=>p(s),onNotifyMe:()=>h(a),isSalesTool:M,presaleLoading:x,isLoggedIn:!!r,invBatch:g,disabledInfo:e.handle?N[e.handle]:void 0})},s)}),B&&(0,l.jsx)("div",{className:"sbc-load-more-row",children:(0,l.jsx)("button",{type:"button",className:"sbc-load-more-btn",onClick:()=>E(k.length),children:"Load More"})})]}),H&&(0,l.jsx)(I,{product:(()=>{var e;let t=H.handle||(null===(e=H.shopifyId)||void 0===e?void 0:e.replace(/^gid:\/\/shopify\/Product\//i,"").replace(/\D/g,""))||"";return t in m?{...H,isPresale:m[t]}:H})(),onClose:()=>p(null),onNotifyMe:()=>{p(null),h(H)},isSalesTool:M,invBatch:g,disabledInfo:H.handle?N[H.handle]:void 0}),v&&(0,l.jsx)(_,{productName:v.title||"",productHandle:v.handle||(null===(t=v.shopifyId)||void 0===t?void 0:t.replace(/^gid:\/\/shopify\/Product\//i,"").replace(/\D/g,"")),skuId:(null===(s=v.variants)||void 0===s?void 0:null===(i=s[0])||void 0===i?void 0:i.sku)||null,getExtrasJson:()=>{var e,t,i,l,o;let s={};return(null===(t=v.variants)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.title)&&(s.variantTitle=v.variants[0].title),(null===(l=v.variants)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:i.price)!=null&&(s.price=v.variants[0].price),v.productType&&(s.productType=v.productType),v.overview&&(s.overview=v.overview),(null===(o=v.tags)||void 0===o?void 0:o.length)&&(s.tags=v.tags),Object.keys(s).length>0?s:null},onClose:()=>h(null)})]})]})}},73759:function(){}}]);

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.