PageSourceSearch

https://shopaz.com/_next/static/chunks/app/%5Blang%5D/(content)/products/error-d17657057e97693c.js

js shopaz.com collected 2026-10-02 01:44:17 UTC 8,022 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9222],{17947:(e,r,t)=>{"use strict";t.d(r,{A:()=>l});var n=t(95155),o=t(85203),s=t.n(o);t(12115);let i={h1:"text-[64px]",h2:"text-[32px]",h3:"text-2xl",h4:"text-xl",h5:"text-lg",h6:"text-base",p:"text-sm",span:"text-xs"},l=e=>{let{type:r="p",className:t,children:o,title:l,onClick:a,onKeyDown:u}=e,d=i[r],c=s()(d,t,"poppins");return(0,n.jsx)(r,{className:c,title:l,onClick:a,onKeyDown:u,children:o})}},20063:(e,r,t)=>{"use strict";var n=t(47260);t.o(n,"useParams")&&t.d(r,{useParams:function(){return n.useParams}}),t.o(n,"usePathname")&&t.d(r,{usePathname:function(){return n.usePathname}}),t.o(n,"useRouter")&&t.d(r,{useRouter:function(){return n.useRouter}}),t.o(n,"useSearchParams")&&t.d(r,{useSearchParams:function(){return n.useSearchParams}})},22428:(e,r,t)=>{Promise.resolve().then(t.bind(t,33290))},32467:(e,r,t)=>{"use strict";t.d(r,{DX:()=>i});var n=t(12115),o=t(94446),s=t(95155),i=n.forwardRef((e,r)=>{let{children:t,...o}=e,i=n.Children.toArray(t),a=i.find(u);if(a){let e=a.props.children,t=i.map(r=>r!==a?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,s.jsx)(l,{...o,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,s.jsx)(l,{...o,ref:r,children:t})});i.displayName="Slot";var l=n.forwardRef((e,r)=>{let{children:t,...s}=e;if(n.isValidElement(t)){let e=function(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(t);return n.cloneElement(t,{...function(e,r){let t={...r};for(let n in r){let o=e[n],s=r[n];/^on[A-Z]/.test(n)?o&&s?t[n]=(...e)=>{s(...e),o(...e)}:o&&(t[n]=o):"style"===n?t[n]={...o,...s}:"className"===n&&(t[n]=[o,s].filter(Boolean).join(" "))}return{...e,...t}}(s,t.props),ref:r?(0,o.t)(r,e):e})}return n.Children.count(t)>1?n.Children.only(null):null});l.displayName="SlotClone";var a=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});function u(e){return n.isValidElement(e)&&e.type===a}},33290:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>s});var n=t(95155),o=t(59700);function s(e){let{error:r}=e;return console.error(r),(0,n.jsx)(o.A,{error:r,errorMessage:"Oops! Something went wrong loading this product!"})}},36838:(e,r,t)=>{"use strict";t.d(r,{LoadingSpinner:()=>s});var n=t(95155),o=t(36358);let s=e=>{let{className:r}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,o.cn)("animate-spin",r),children:(0,n.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}},58872:e=>{e.exports={"custom-button":"button_custom-button__7VqS_"}},59700:(e,r,t)=>{"use strict";t.d(r,{A:()=>f});var n=t(95155),o=t(17947),s=t(97003),i=t(52619),l=t.n(i),a=t(12115);let u=e=>{let{mailto:r,label:t}=e;return(0,n.jsx)(l(),{href:"#",onClick:e=>{window.location.href=r,e.preventDefault()},className:"text-blue",children:t})};var d=t(36358),c=t(20063);function f(e){let{error:r,errorMessage:t,reset:i,shouldReload:f}=e;console.error(r);let p=(0,c.usePathname)();return(0,a.useEffect)(()=>{i&&i()},[p]),(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center min-h-screen text-center px-4",children:[(0,n.jsx)("h2",{className:"text-2xl font-bold mb-4",children:null!=t?t:"Oops! Something went wrong loading the page"}),(0,n.jsxs)(o.A,{type:"h5",className:"my-5",children:["In case the issue persists, please let us know at"," ",(0,n.jsx)(u,{mailto:"[email protected]",label:"[email protected]"})]}),f&&d.M?(0,n.jsx)(s.$,{className:"btn-primary",onClick:()=>{var e,r;return null==(r=window)||null==(e=r.location)?void 0:e.reload()},children:"Try again"}):(0,n.jsx)(l(),{href:"/",className:"px-4 py-2 border border-primary text-primary rounded hover:bg-primary hover:text-white transition-colors",children:"Go Home"})]})}},85203:(e,r)=>{var t;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",r=0;r<arguments.length;r++){var t=arguments[r];t&&(e=s(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var t in e)n.call(e,t)&&e[t]&&(r=s(r,t));return r}(t)))}return e}function s(e,r){return r?e?e+" "+r:e+r:e}e.exports?(o.default=o,e.exports=o):void 0===(t=(function(){return o}
1).apply(r,[]))||(e.exports=t)}()},92885:(e,r,t)=>{"use strict";t.d(r,{F:()=>s});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,r,t=0,n="";t<arguments.length;)(e=arguments[t++])&&(r=function e(r){var t,n,o="";if("string"==typeof r||"number"==typeof r)o+=r;else if("object"==typeof r)if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(n=e(r[t]))&&(o&&(o+=" "),o+=n);else for(t in r)r[t]&&(o&&(o+=" "),o+=t);return o}(e))&&(n&&(n+=" "),n+=r);return n},s=(e,r)=>t=>{var s;if((null==r?void 0:r.variants)==null)return o(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:i,defaultVariants:l}=r,a=Object.keys(i).map(e=>{let r=null==t?void 0:t[e],o=null==l?void 0:l[e];if(null===r)return null;let s=n(r)||n(o);return i[e][s]}),u=t&&Object.entries(t).reduce((e,r)=>{let[t,n]=r;return void 0===n||(e[t]=n),e},{});return o(e,a,null==r||null==(s=r.compoundVariants)?void 0:s.reduce((e,r)=>{let{class:t,className:n,...o}=r;return Object.entries(o).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...l,...u}[r]):({...l,...u})[r]===t})?[...e,t,n]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}},94446:(e,r,t)=>{"use strict";t.d(r,{s:()=>s,t:()=>o});var n=t(12115);function o(...e){return r=>e.forEach(e=>{"function"==typeof e?e(r):null!=e&&(e.current=r)})}function s(...e){return n.useCallback(o(...e),e)}},97003:(e,r,t)=>{"use strict";t.d(r,{$:()=>f});var n=t(95155),o=t(58872),s=t.n(o),i=t(36838),l=t(36358),a=t(32467),u=t(92885),d=t(12115);let c=(0,u.F)("".concat(s()["custom-button"]," inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none disabled:pointer-events-none disabled:bg-secondary_hover disabled:text-button-secondary_foreground"),{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-button-hover disabled:bg-gray disabled:text-black-foreground",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border-2 border-primary bg-background text-primary hover:bg-button-hover/10 hover:text-primary-light hover:bold disabled:border-0 disabled:text-gray disabled:bg-gray-shadow",gray:"border-1 border-border bg-gray-shadow text-gray-black font-semibold hover:bold disabled:border-0 disabled:text-primary-foreground p-5",secondary:"bg-background text-secondary_foreground outlined hover:bg-button-secondary_hover",ghost:"hover:bold hover:text-primary-foreground",link:"text-primary underline-offset-4 hover:underline",underline:"text-base font-normal underline text-button-secondary_foreground",text:"text-black underline-offset-4 "},size:{default:"h-10 px-6 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),f=d.forwardRef((e,r)=>{let{className:t,variant:o,size:s,asChild:u=!1,loading:d=!1,children:f,...p}=e,h=u?a.DX:"button";return(0,n.jsx)(h,{className:(0,l.cn)(c({variant:o,size:s}),"relative",t),ref:r,disabled:d||p.disabled,...p,children:d?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,n.jsx)(i.LoadingSpinner,{className:"h-4 w-4"})}),(0,n.jsx)("span",{className:"invisible contents",children:f})]}):f})});f.displayName="Button"}},e=>{e.O(0,[5404,4744,4470,2619,6358,8441,1255,7358],()=>e(e.s=22428)),_N_E=e.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.