1import{a6 as ee,I as se,x as r,gc as le,aX as ne,fl as ie,fp as ae,b1 as te,w as e,t as s,U as x,R as v,au as I,L as re}from"./core-hEbRg-IQ.js";import{C as H,G as W}from"./App-BRf_5Iq-.js";const y=[{title:s("Free videos"),videos:[{id:2621,label:s("PimpinDonks intro"),secs:78,free:!0},{id:2981,label:s("Final Table Win"),secs:2256,free:!0},{id:4201,label:s("Maximize your HUD Skills"),secs:2325,free:!0},{id:4641,label:s("Mark Schmid WSOP Interview"),secs:114,free:!0}]},{title:s("Getting started"),videos:[{id:2421,label:s("Elements of a winning player"),secs:1661},{id:2441,label:s("Starting hands"),secs:960},{id:2921,label:s("SNG bankroll management"),secs:1189},{id:2481,label:s("SNG vs Cash vs Tournament"),secs:1094}]},{title:s("Poker concepts"),videos:[{id:3131,label:s("Expected value"),secs:717},{id:2561,label:s("Donk bet"),secs:1862},{id:2641,label:s("Three betting"),secs:2215},{id:2661,label:s("Bluff / semi-bluff"),secs:2357},{id:2701,label:s("Value betting"),secs:2819},{id:2841,label:s("The squeeze play"),secs:1675},{id:2901,label:s("Slow playing"),secs:3590}]},{title:s("SNG specific"),videos:[{id:3051,label:s("Playing with 15 or fewer BBs"),secs:1075},{id:3091,label:s("Playing with 15 to 30 BBs"),secs:1158},{id:3151,label:s("Playing with 30+ BBs"),secs:2633},{id:3171,label:s("Final table play"),secs:2924},{id:3251,label:s("Short-handed play"),secs:2624},{id:3271,label:s("Bubble play"),secs:3689},{id:3071,label:s("Heads-up play"),secs:2571},{id:3311,label:s("Playing post-flop"),secs:4108}]},{title:s("Positional play"),videos:[{id:3411,label:s("Playing in position"),secs:2263},{id:3431,label:s("Playing out of position"),secs:1384},{id:3591,label:s("Playing out of the blinds"),secs:2910}]},{title:s("PimpinDonks HUD"),videos:[{id:4391,label:s("Holdem Manager HUD configuration"),secs:115},{id:4411,label:s("Poker Tracker 3 HUD configuration"),secs:131}]},{title:s("Maximizing earnings"),videos:[{id:2821,label:s("Multi-tabling (part 1)"),secs:5221},{id:2861,label:s("Multi-tabling (part 2)"),secs:5257},{id:3231,label:s("Poker software"),secs:2355},{id:3291,label:s("Game selection"),secs:854},{id:3331,label:s("Setting a schedule"),secs:901},{id:4351,label:s("Studying and replaying hands"),secs:2044}]},{title:s("More topics"),videos:[{id:3771,label:s("The gap concept"),secs:813},{id:3751,label:s("Note taking"),secs:728},{id:3791,label:s("Pot odds and implied odds"),secs:1116},{id:3891,label:s("Sit ânâ Goâs for a living"),secs:3806},{id:3971,label:s("Hand-reading skills"),secs:4598},{id:4061,label:s("Probability"),secs:4933}]}],k=y.flatMap(l=>l.videos),m=k.length,E=k.filter(l=>l.free).length,ce=m-E,F=k.reduce((l,t)=>l+t.secs,0),oe=k.filter(l=>!l.free).reduce((l,t)=>l+t.secs,0),T=Math.floor(F/3600),de=Math.floor(oe/3600),b="$145";function g(l){const t=Math.max(1,Math.round(l/60));if(t<60)return`${t}m`;const h=t%60;return h>0?`${Math.floor(t/60)}h ${h}m`:`${Math.floor(t/60)}h`}function he(l){if(!l)return"";const t=Math.floor(l/60),h=l%60;return h>0?s("{0} min {1} sec",t,h):`${t} min`}function ue(l){return l?/gold|platinum|diamond|tritium|enterprise|super/i.test(l)?!0:/^pro(?!0k$|5k$)/i.test(l):!1}function ge(l){return l.replace(/<\s*br\s*\/?>/gi,` 2`).replace(/<\/?p\s*\/?>/gi,` 3`).replace(/<[^>]+>/g,"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'|’|'/g,"â").replace(/"/g,'"').replace(/ /g," ").replace(/[ \t]+\n/g,` 4`).replace(/\n{3,}/g,` 5 6`).trim()}function C({className:l}){return e.jsxs("svg",{className:l,width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[e.jsx("rect",{x:"4",y:"10.5",width:"16",height:"10",rx:"2"}),e.jsx("path",{d:"M8 10.5V7a4 4 0 0 1 8 0v3.5"})]})}function fe(){const{user:l,plans:t,isSubscriber:h,openLogin:_}=ee(),U=se()==="demo",$=y[0].videos[0].id,[f,z]=r.useState($),[a,A]=r.useState(null),[R,N]=r.useState(!1),[w,S]=r.useState(!1),[V,D]=r.useState(null),[O,G]=r.useState(null),[d,q]=r.useState(null),B=r.useRef(null),K=(l==null?void 0:l.username)??"";r.useEffect(()=>{D(null),G(null)},[K,t]);const X=r.useMemo(()=>{const n=new Map;for(const i of y)for(const p of i.videos)n.set(p.id,p);return n},[]);r.useEffect(()=>{let n=!0;return N(!0),S(!1),A(null),G(null),le(f).then(i=>{n&&(A(i),N(!1))}).catch(()=>{n&&N(!1)}),()=>{n=!1}},[f]);const c=X.get(f),Y=(a==null?void 0:a.title)||(c==null?void 0:c.label)||"SNG Guide",j=(a==null?void 0:a.streamUrl)??"",M=(a==null?void 0:a.free)??(c==null?void 0:c.free)??!1,u=(a==null?void 0:a.duration)||(c==null?void 0:c.secs)||0,o=V??(h&&t.some(n=>ue(n.name))),L=!M&&!o;r.useEffect(()=>{if(o||d)return;let n=!0;return ne().then(i=>{if(!n)return;const p=i.find(Z=>Z.name==="Gold");if(!p)return;const P=ie(p,12,!0);P&&!P.oneTime&&q(ae(te(p.currency),P.perMo))}).catch(()=>{}),()=>{n=!1}},[o,d]);function J(){const n=B.current;if(!n||M||u<300||!isFinite(n.duration)||n.duration<=0)return;const i=n.duration>=u-90;D(i),G(i?null:Math.round(n.duration))}function Q(){o||S(!0)}return e.jsxs("section",{className:"view sng-view","aria-labelledby":"sng-h1",children:[e.jsxs("header",{className:"sng-head",children:[e.jsx("h1",{className:"page-title",id:"sng-h1",children:s("SNG Guide")}),e.jsx("p",{className:"page-sub",children:s("The official Sit & Go video course by WSOP winner Mark âPimpinDonksâ Schmid â from first principles to a winning pro game.")}),e.jsxs("ul",{className:"sng-stats","aria-label":s("Course contents"),children:[e.jsxs("li",{children:[e.jsx("b",{children:m})," lessons"]}),e.jsxs("li",{children:[e.jsx("b",{children:g(F)})," ",s("of coaching")]}),e.jsxs("li",{children:[e.jsx("b",{children:E})," ",s("free lessons")]}),e.jsxs("li",{className:"sng-stat-gold",children:[e.jsxs("b",{children:[b," value"]})," ",s("â included with Gold")]})]})]}),o?e.jsxs("div",{className:"sng-unlocked",role:"note",children:[e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:e.jsx("path",{d:"M20 6 9 17l-5-5"})}),s("Full course unlocked â every lesson plays full length on your subscription.")]}):e.jsxs("div",{className:"sng-access",role:"note",children:[e.jsxs("div",{className:"sng-access-copy",children:[e.jsx("b",{children:s("Try every lesson free â Gold unlocks the full course.")}),e.jsx("p",{children:s("The {0} starter lessons are free in full, and every other lesson plays a free 2-minute preview. Gold includes all {1} full-length lessons â {2}+ hours of coaching worth {3} â at no extra cost.",E,m,T,b)})]}),e.jsxs("div",{className:"sng-access-cta",children:[e.jsxs(x,{className:"btn btn-cta",to:v.pricing,children:[e.jsx(H,{label:s(W.goldPlusOnly)}),s("Unlock the full guide")]}),e.jsx("span",{className:"sng-access-fine",children:d?s("Gold from {0}/month · cancel anytime",d):"Included with every Gold plan"}),!l&&e.jsx("button",{type:"button",className:"link-btn sng-access-login",onClick:_,children:s("Already subscribed? Log in")})]})]}),e.jsxs("div",{className:"sng-layout",children:[e.jsxs("div",{className:"sng-main",children:[e.jsxs("div",{className:"sng-player",children:[j?e.jsx("video",{ref:B,className:"sng-video",src:j,controls:!0,playsInl
6ine:!0,preload:"metadata",poster:"/images/donks-on-ss.png",onLoadedMetadata:J,onEnded:Q},j):e.jsxs("div",{className:"sng-video-ph",role:"img","aria-label":s("Video unavailable"),children:[e.jsxs("svg",{width:"46",height:"46",viewBox:"0 0 24 24","aria-hidden":"true",children:[e.jsx("circle",{cx:"12",cy:"12",r:"11",fill:"none",stroke:"currentColor",strokeWidth:"1.4"}),e.jsx("path",{d:"M10 8.5v7l6-3.5z",fill:"currentColor"})]}),e.jsx("p",{children:R?"Loadingâ¦":U?s("Video playback is available on the live site. Full lessons are free with any Gold subscription."):s("This lesson canât be played right now â please try again.")})]}),L&&j&&!w&&e.jsx("span",{className:"sng-preview-flag",children:s("Preview")}),w&&e.jsx("div",{className:"sng-endcard",role:"note",children:e.jsxs("div",{className:"sng-endcard-box",children:[L?e.jsxs(e.Fragment,{children:[e.jsx("h3",{children:s("Thatâs the end of the free preview")}),e.jsx("p",{children:I("The full lesson runs {0}. Unlock it â and all {1} lessons, {2}+ hours of coaching worth {3} â with any Gold subscription.",e.jsx("b",{children:g(u)}),m,T,b)})]}):e.jsxs(e.Fragment,{children:[e.jsx("h3",{children:s("Enjoyed the free lesson?")}),e.jsxs("p",{children:[s("There are")," ",ce," more â ",de,"+ hours of full-length coaching, included with any Gold subscription."]})]}),e.jsxs("div",{className:"sng-endcard-cta",children:[e.jsxs(x,{className:"btn btn-cta",to:v.pricing,children:[e.jsx(H,{label:s(W.goldPlusOnly)}),s("Unlock the full guide")]}),e.jsx("button",{type:"button",className:"btn btn-outline",onClick:()=>S(!1),children:s("Not now")})]}),d&&e.jsx("p",{className:"sng-endcard-fine",children:s("Gold from {0}/month · cancel anytime",d)})]})})]}),L&&!w&&e.jsxs("div",{className:"sng-preview-bar",role:"note",children:[e.jsx(C,{className:"sng-preview-bar-ic"}),e.jsx("span",{children:O?I("Youâre watching the first {0} of this {1} lesson.",e.jsx("b",{children:g(O)}),e.jsx("b",{children:g(u)})):e.jsxs(e.Fragment,{children:[s("Free preview â the full lesson runs")," ",e.jsx("b",{children:g(u)}),"."]})}),e.jsx(x,{className:"sng-preview-bar-cta",to:v.pricing,children:s("Unlock with Gold â")})]}),e.jsxs("div",{className:"sng-info",children:[e.jsxs("h2",{className:"sng-vtitle",children:[Y,M&&e.jsx("span",{className:"chip sng-free",children:s("Free")})]}),u?e.jsx("p",{className:"sng-dur",children:he(u)}):null,a!=null&&a.description?e.jsx("p",{className:"sng-desc",children:ge(a.description)}):U?e.jsx("p",{className:"sng-desc sng-muted",children:s("Pick any lesson to browse the course. On the live site the video plays here â the full guide is free with any Gold subscription.")}):null]})]}),e.jsxs("aside",{className:"sng-catalog","aria-label":s("Lessons"),children:[e.jsxs("div",{className:"sng-cat-head",children:[e.jsx("h2",{children:s("Lessons")}),e.jsxs("span",{className:"sng-cat-total",children:[m," · ",g(F)]})]}),e.jsx("p",{className:"sng-cat-note",children:o?s("All lessons unlocked â pick one to play."):e.jsxs(e.Fragment,{children:[e.jsx(C,{className:"sng-note-lock"})," ",s("lessons play the first 2 minutes free â Gold unlocks the rest.")]})}),y.map(n=>e.jsxs("div",{className:"sng-cat-group",children:[e.jsx("h3",{className:"sng-cat-title",children:n.title}),e.jsx("ul",{className:"sng-cat-list",children:n.videos.map(i=>e.jsx("li",{children:e.jsxs("button",{type:"button",className:`sng-vlink${i.id===f?" active":""}`,"aria-current":i.id===f?"true":void 0,onClick:()=>z(i.id),title:!i.free&&!o?"Plays a free 2-minute preview â the full lesson is included with Gold":void 0,children:[e.jsx("span",{className:"sng-vlabel",children:i.label}),i.free&&e.jsx("span",{className:"chip sng-free",children:s("Free")}),e.jsx("span",{className:"sng-vlen",children:g(i.secs)}),!i.free&&!o&&e.jsx(C,{className:"sng-vlock"})]})},i.id))})]},n.title))]})]}),!o&&e.jsxs("section",{className:"panel panel-pad sng-value","aria-labelledby":"sng-value-h",children:[e.jsx("h2",{id:"sng-value-h",className:"sng-value-h",children:s("What you unlock with Gold")}),e.jsxs("div",{className:"sng-value-grid",children:[e.jsxs("div",{className:"sng-value-item",children:[e.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}
6),e.jsx("path",{d:"M10 8.5v7l6-3.5z",fill:"currentColor",stroke:"none"})]}),e.jsx("h3",{children:s("The complete course")}),e.jsxs("p",{children:[s("All")," ",m," lessons, full length â ",T,"+ hours from starting hands and bankroll management to bubble play, hand reading and multi-tabling."]})]}),e.jsxs("div",{className:"sng-value-item",children:[e.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[e.jsx("path",{d:"M8 21h8m-4-4v4M7 4h10v5a5 5 0 0 1-10 0z"}),e.jsx("path",{d:"M7 6H4v1a4 4 0 0 0 3 3.9M17 6h3v1a4 4 0 0 1-3 3.9"})]}),e.jsx("h3",{children:s("A proven winner as coach")}),e.jsx("p",{children:s("Mark plays SNGs professionally â steady six-figure years with only one losing month since turning pro. The guide packages his private coaching.")})]}),e.jsxs("div",{className:"sng-value-item",children:[e.jsx("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:e.jsx("path",{d:"m12 2 2.9 6.3 6.6.7-4.9 4.5 1.4 6.5L12 16.7 6 20l1.4-6.5L2.5 9l6.6-.7z"})}),e.jsx("h3",{children:s("Included with Gold â worth {0}",b)}),e.jsxs("p",{children:[s("Sold separately at")," ",b,", included with every Gold subscription at no extra cost â alongside HandTracker, tournament exports and 1,000 searches a day."]})]})]}),e.jsxs("div",{className:"sng-value-cta",children:[e.jsxs(x,{className:"btn btn-cta btn-lg",to:v.pricing,children:[s("See Gold plans"),d?s("â from {0}/mo",d):""]}),e.jsx("p",{className:"sng-value-fine",children:s("Instant access after checkout · cancel anytime")})]})]}),e.jsxs("section",{className:"panel panel-pad sng-about","aria-labelledby":"sng-about-h",children:[e.jsx("h2",{id:"sng-about-h",className:"sng-about-h",children:s("About Mark (PimpinDonks)")}),e.jsxs("div",{className:"sng-about-body",children:[e.jsxs("div",{className:"sng-about-copy",children:[e.jsx("p",{children:s("Mark Schmid has played poker professionally for over five years, with a simple, calculated style and an approach that leads to steady long-term wins exceeding six figures a year â with only one losing month since turning pro.")}),e.jsx("p",{children:s("He has coached many players to use his simple, often-overlooked techniques and created this guide as a stand-in for private coaching, so he can reach more students with the same advice at a fraction of his hourly rate.")})]}),e.jsx(x,{className:"sng-graph",to:re("PimpinDonks","FullTilt"),children:e.jsx("img",{src:"/images/donks-on-ss.png",alt:s("PimpinDonks on SharkScope"),loading:"lazy"})})]})]})]})}export{fe as default};
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.