PageSourceSearch

https://www.epicreact.dev/_next/static/chunks/pages/products/[slug]-c31dabfaf557b653.js

js epicreact.dev collected 2026-10-03 22:03:58 UTC 9,092 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9372],{11214:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(49062);let n=a.forwardRef(function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))})},25229:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var a=r(91238),n=r(38151),s=r(69460),l=r(9236),d=r.n(l),i=r(36218),o=r(5545),c=r(20499);let u=e=>{let{text:t,url:r,author:n}=e,{avatar:s,name:l,handle:c}=n;return(0,a.jsxs)("blockquote",{"data-body-tweet":"",children:[(0,a.jsxs)("div",{"data-header":"",children:[(0,a.jsxs)("a",{href:"https://twitter.com/".concat(c),target:"_blank",rel:"noopener noreferrer","data-author":"",children:[(0,a.jsx)(d(),{src:s,alt:l,width:48,height:48}),(0,a.jsxs)("div",{"data-name":"",children:[l," ",(0,a.jsxs)("div",{"data-handle":"",children:["@",c]})]})]}),(0,a.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)(i.I,{name:"Twitter",size:"20"})})]}),(0,a.jsx)("div",{"data-body":"",children:(0,a.jsx)(o.$,{children:t})})]})},m=e=>{let{url:t,title:r,poster:n}=e;return(0,a.jsxs)("figure",{"data-body-video":"",className:"video",children:[(0,a.jsx)("video",{autoPlay:!1,loop:!0,controls:!0,className:"rounded-md",poster:n,children:(0,a.jsx)("source",{src:t,type:"video/mp4"})}),r&&(0,a.jsx)("div",{className:"pt-2 pb-4 text-base font-medium text-slate-400",children:r})]})},p=e=>{let{videoId:t}=e;return(0,a.jsx)("iframe",{"data-body-video":"",src:"https://www.youtube.com/embed/".concat(t),title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",frameBorder:0,allowFullScreen:!0})},h=e=>{let{playbackId:t,metadata:r}=e;return t?(0,a.jsx)(c.Ay,{"data-body-video":"",playbackId:t,metadata:r}):null},x=e=>{let{children:t,author:r}=e;return(0,a.jsxs)("div",{"data-body-testimonial":"",children:[(0,a.jsxs)("div",{"data-content":"",children:[(0,a.jsx)("blockquote",{children:t}),(null==r?void 0:r.name)&&(0,a.jsxs)("div",{"data-author":"",children:[r.image?(0,a.jsx)("div",{"data-image":"",children:(0,a.jsx)(d(),{src:r.image,alt:r.name,width:40,height:40})}):"— ",(0,a.jsx)("span",{"data-name":"",children:r.name})]})]}),(0,a.jsx)("div",{"data-border":"","aria-hidden":"true"}),(0,a.jsx)("div",{"data-quote":"","aria-hidden":"true",children:"”"})]})},j={CH:s.CH,ShikiCode:function(e){let{html:t}=e;return(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})},...{Tweet:e=>{let{text:t,url:r,author:n}=e;return(0,a.jsx)(u,{text:t,url:r,author:n})},Video:e=>{let{url:t,title:r,poster:n}=e;return(0,a.jsx)(m,{url:t,title:r,poster:n})},Testimonial:e=>{let{children:t,author:r}=e;return(0,a.jsx)(x,{author:r,children:t})},MuxVideo:e=>{let{playbackId:t,metadata:r}=e;return(0,a.jsx)(h,{playbackId:t,metadata:r})},YouTube:e=>{let{videoId:t}=e;return(0,a.jsx)(p,{videoId:t})},Image:e=>(0,a.jsx)(d(),{...e}),ChecklistItem:e=>{let{children:t}=e;return(0,a.jsx)("li",{"data-checklist-item":"",children:t})}}},v=e=>{let{contents:t,components:r}=e;return(0,a.jsx)(n.m,{components:{...j,...r},...t})}},38151:(e,t,r)=>{"use strict";r.d(t,{m:()=>c});var a={};r.r(a),r.d(a,{MDXProvider:()=>o,useMDXComponents:()=>i}),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)});var n=r(49062),s=r(87333);let l={},d=n.createContext(l);function i(e){let t=n.useContext(d);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:i(e.components),n.createElement(d.Provider,{value:t},e.children)}function c({compiledSource:e,frontmatter:t,scope:r,components:l={},lazy:d}
1){let[i,c]=(0,n.useState)(!d||"undefined"==typeof window);(0,n.useEffect)(()=>{if(d){let e=window.requestIdleCallback(()=>{c(!0)});return()=>window.cancelIdleCallback(e)}},[]);let u=(0,n.useMemo)(()=>{let n=Object.assign({opts:{...a,...s.jsxRuntime}},{frontmatter:t},r),l=Object.keys(n),d=Object.values(n),i=Reflect.construct(Function,l.concat(`${e}`));return i.apply(i,d).default},[r,e]);if(!i)return n.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});let m=n.createElement(o,{components:l},n.createElement(u,null));return d?n.createElement("div",null,m):m}},73881:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>k,default:()=>I});var a=r(91238);r(49062);var n=r(3380),s=r(45734),l=r(9236),d=r.n(l),i=r(25229),o=r(74878),c=r(7618),u=r(95178),m=r(88746),p=r(11230),h=r.n(p),x=r(11214),j=r(47315),v=r.n(j);let f=e=>{var t;let{title:r,hasPurchased:n,product:s}=e;return(0,a.jsx)("header",{className:"relative mx-auto w-full max-w-screen-lg px-2",children:(0,a.jsx)("div",{className:"relative flex w-full flex-col items-center justify-center pt-10 sm:pt-16",children:(0,a.jsxs)("div",{className:"flex flex-grow flex-col items-center justify-center",children:[n&&(0,a.jsxs)(v(),{href:"/purchases",className:"flex items-center gap-1.5 rounded-md bg-teal-400/30 py-0.5 pl-1.5 pr-2 font-medium text-teal-600 transition hover:bg-teal-400/40 dark:bg-teal-400/20 dark:text-teal-300 dark:hover:bg-teal-400/30",children:[(0,a.jsx)(x.A,{className:"h-5 w-5 text-teal-500 dark:text-teal-400"})," ","Purchased"]}),(null==s||null==(t=s.image)?void 0:t.url)&&(0,a.jsx)(d(),{className:"rounded-full",src:s.image.url,alt:s.name,width:200,height:200}),(0,a.jsx)("h1",{className:h()("font-text pt-5 text-3xl font-semibold sm:text-4xl",{"pt-8":!n,"pt-5":n}),children:r})]})})})},w=e=>{var t;let{product:r,products:l,mdx:i,allowPurchase:p,userId:h,couponFromCode:x,couponIdFromCoupon:j,availableBonuses:w}=e,b=(0,s.useRouter)(),y=(null==r?void 0:r.title)||(null==r?void 0:r.name)||"Product Title",{addPrice:k}=(0,u.tb)(),I=(null==x?void 0:x.restrictedToProductId)?l.find(e=>e.productId===x.restrictedToProductId):void 0,_=I?{...I,id:I.productId,image:{...I.image,width:132,height:112}}:void 0,{validCoupon:N}=(0,m.Y)(x,_),C=j||(N?null==x?void 0:x.id:void 0),{data:P,status:T}=o.i.pricing.propsForCommerce.useQuery({...b.query,productId:r.productId},{onSuccess:e=>{e.purchases&&e.purchases.map(e=>{k({...e.product,unitPrice:e.totalAmount},e.productId)})}}),E=(null==P||null==(t=P.purchases)?void 0:t.map(e=>e.productId))||[],H=E.includes(r.productId);return(0,a.jsxs)(n.A,{meta:{title:y,description:r.description,openGraph:{images:[{url:"https://res.cloudinary.com/epic-web/image/upload/v1687853482/card-full-stack-workshop-series-vol-1_2x.png",alt:y}]}},children:[(0,a.jsx)("div",{className:"flex justify-center pt-16",children:(0,a.jsxs)(v(),{href:"/products",className:"group mb-10 inline-flex gap-1 text-sm opacity-75 transition hover:opacity-100",children:[(0,a.jsx)("span",{className:"transition group-hover:-translate-x-1",children:"←"})," ",(0,a.jsx)("span",{children:"All Products"})]})}),(0,a.jsx)(f,{product:r,title:y,hasPurchased:H}),(0,a.jsxs)("main",{id:"buy","data-not-purchased-product":"",children:[i&&(0,a.jsxs)("article",{className:"mx-auto w-full max-w-screen-md px-10 py-8 md:py-10",children:[(0,a.jsx)("h1",{className:"text-7xl",children:"HHHHHHH"}),(0,a.jsx)(g,{mdx:i})]}),(0,a.jsx)("div",{id:"pricing-tiers",className:"mt-10 flex w-full items-center justify-center pb-16",children:(0,a.jsx)("div",{"data-pricing-container":"",children:(0,a.jsx)(c.vl,{bonuses:w,allowPurchase:"active"===r.state,userId:h,product:r,purchased:E.includes(r.productId),couponId:C,couponFromCode:x})})}),(0,a.jsx)(d(),{className:"mx-auto mb-16",src:"https://res.cloudinary.com/total-typescript/image/upload/v1669928567/money-back-guarantee-badge-16137430586cd8f5ec2a096bb1b1e4cf_o5teov.svg",width:130,height:130,alt:"30-Day Money Back Guarantee"})]})]})},b={},g=e=>{let{mdx:t}=e;return(0,a.jsx)("article",{className:"invert-svg prose mx-auto w-full max-w-none dark:prose-invert md:prose-lg prose-code:break-words md:prose-code:break-normal",children:(0,a.jsx)(i.A,{contents:t,components:b})})};var y=r(13182),k=!0;let I=e=>{let{hasPurchasedCurrentProduct:t}=e;return(0,a.jsx)(a.Fragment,{children:t?(0,a.jsx)(u.X_,{purchasedProductIds:[e.product.productId],children:(0,a.jsx)(y.Ay,{...e})}):(0,a.jsx)(u.X_,{purchasedProductIds:[...e.purchases?e.purchases.map(e=>e.productId):[]],children:(0,a.jsx)(w,{...e})})})}},87333:(e,t,r)=>{"use strict";e.exports.jsxRuntime=r(91238)},91737:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/[slug]",function(){return r(73881)}])}},e=>{e.O(0,[7449,5692,7491,5646,7842,8157,2933,5545,5989,5839,499,3042,2588,4401,2365,3380,6903,3182,636,6593,8792],()=>e(e.s=91737)),_N_E=e.O()}]);
2//# sourceMappingURL=[slug]-c31dabfaf557b653.js.map

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.