1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58151,e=>{"use strict";var t=e.i(43476),i=e.i(71369),a=e.i(46261),r=e.i(46932),n=e.i(3254);e.s(["default",0,({data:e})=>(0,t.jsxs)(r.motion.div,{...(0,n.fadeInUpWithDelay)(),className:"px-8 sm:px-10 pt-8 sm:pt-10 gradient-border bg-[url(/images/noise-pattern.png)] bg-repeat bg-auto",children:[(0,t.jsx)("div",{className:"flex gap-4 items-center flex-wrap mb-6",children:e.frontmatter.technologies?.map((e,i)=>(0,t.jsx)("span",{className:"badge",children:e},i))}),e.frontmatter.site_demo_URL?(0,t.jsx)("a",{href:e.frontmatter.site_demo_URL,target:"_blank",rel:"noopener noreferrer",className:"text-h4 font-medium mb-6 gradient-text",children:(0,i.plainify)(e.frontmatter.title)}):(0,t.jsx)("h3",{className:"text-h4 font-medium mb-6 gradient-text",children:(0,i.plainify)(e.frontmatter.title)}),(0,t.jsx)("p",{className:"mb-8 text-lg",children:e.frontmatter.subtitle}),(0,t.jsx)(a.default,{src:e.frontmatter.image,alt:e.frontmatter.title,width:610,height:363,className:"rounded-t-2xl h-[290px] sm:h-[340px] object-cover"})]})])},91730,e=>{"use strict";var t=e.i(43476),i=e.i(48541),a=e.i(46932);let r=({videoSrc:e,setIsDialogOpen:i})=>(0,t.jsx)(a.motion.div,{className:"size-full fixed top-0 left-0 bg-dark/80 backdrop-blur-sm flex items-center justify-center p-4 z-50",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:()=>i(!1),children:(0,t.jsxs)(a.motion.div,{className:"relative max-w-4xl w-full aspect-video",initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},transition:{duration:.3,ease:"easeOut"},onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("iframe",{className:"size-full rounded-lg",width:"560",height:"315",src:`https://www.youtube.com/embed/${e}?autoplay=1`,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}),(0,t.jsx)(a.motion.button,{onClick:()=>i(!1),className:"absolute -top-10 right-0 text-white hover:text-primary text-2xl transition-colors",whileHover:{scale:1.1},whileTap:{scale:.9},children:"Ã"})]})});var n=e.i(46261),s=e.i(3254),l=e.i(71369),o=e.i(71645),d=e.i(84828);e.s(["default",0,({data:e})=>{let{frontmatter:c}=e,[u,m]=(0,o.useState)(!1),[h,x]=(0,o.useState)(""),[p,g]=(0,o.useState)(0),[f,y]=(0,o.useState)(1),[b,w]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let e=()=>{window.innerWidth>=1600?y(5):window.innerWidth>=1400?y(4):window.innerWidth>=1024?y(3):window.innerWidth>=768?y(2):y(1)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let v=[...c.testimonials],j=[...v,...c.testimonials,...v];(0,o.useEffect)(()=>{g(c.testimonials.length)},[c.testimonials.length]);let L=(0,o.useCallback)(()=>{b||(w(!0),g(e=>e+1))},[b]),N=(0,o.useCallback)(()=>{b||(w(!0),g(e=>e-1))},[b]),k=(0,o.useCallback)(()=>{w(!1),p>=2*c.testimonials.length?g(c.testimonials.length+(p-2*c.testimonials.length)):p<c.testimonials.length&&g(c.testimonials.length+p)},[p,c.testimonials.length]);return(0,o.useEffect)(()=>{let e=setInterval(L,2500);return()=>clearInterval(e)},[L]),(0,t.jsxs)(t.Fragment,{children:[c.enable&&(0,t.jsxs)(a.motion.section,{className:"section bg-secondary/40 overflow-x-hidden",...s.fadeInUp,children:[(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"row gap-y-6 mb-15",children:[(0,t.jsx)("div",{className:"lg:col-7",children:(0,t.jsxs)("div",{className:"flex flex-col",children:[c.badge&&(0,t.jsx)(i.default,{children:c.badge}),(0,t.jsx)(a.motion.h2,{...s.fadeInUp,className:"mt-4 gradient-text",dangerouslySetInnerHTML:(0,l.markdownify)(c.title)})]})}),(0,t.jsxs)(a.motion.div,{className:"lg:col-5 lg:pl-20 flex justify-end items-end gap-x-5",initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:[(0,t.jsx)("button",{className:"gradient-border gradient-border-disable-hover p-3 rounded-full hover:bg-primary transition group cursor-pointer","aria-label":"Previous testimonial",onClick:N,children:(0,t.jsx)(d.FaAngleLeft,{className:"size-6 text-primary group-hover:text-dark"})}),(0,t.jsx)("button",{className:"gradient-border gradient-border-disable-hover p-3 rounded-full hover:bg-primary transition group cursor-pointer","aria-label":"Next testimonial",onClick:L,children:(0,t.jsx)(d.FaAngleRight,{className:"size-6 text-primary group-hover:text-dark"})})]})]})}),(0,t.jsx)(a.motion.div,{className:"px-10 max-w-[2000px] mx-auto",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.3},children:(0,t.jsx)("div",{className:"relative overflow-hidden",children:(0,t.jsx)(a.motion.div,{className:"flex",animate:{x:`-${100/f*p}%`},transition:{duration:1.2*!!b,ease:"easeInOut"},onAnimationComplete:k,children:j.map((e,i)=>(0,t.jsx)("div",{className:"flex-shrink-0",style:{width:`${100/f}%`,paddingRight:"8px",paddingLeft:"8px"},children:(0,t.jsx)(a.motion.div,{className:"h-[420px]",whileHover:{scale:1.02},transition:{duration:.2},children:e.youtube_video_id?(0,t.jsxs)("div",{className:"rounded-2xl relative overflow-hidden p-6 h-full flex items-end",children:[(0,t.jsx)(n.default,{src:e.image,alt:e.name,width:500,height:800,className:"w-full h-full absolute inset-0 object-cover object-center grayscale"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-transparent-gradient"}),(0,t.jsxs)("div",{className:"flex items-center relative z-1 justify-between w-full",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-xl mb-2 font-medium",children:e.name}),(0,t.jsx)("p",{className:"text-sm",children:e.designation})]}),(0,t.jsx)("button",{className:"size-12 rounded-full gradient-border flex items-center justify-center cursor-pointer hover:scale-105 transition-transform",onClick:()=>{x(e.youtube_video_id),m(!0)},"aria-label":"Play video",children:(0,t.jsx)(d.FaPlay,{className:"size-5 text-primary"})})]})]}):(0,t.jsxs)("div",{className:"px-6 py-8 rounded-2xl overflow-y-auto h-full bg-secondary/60 hide-scrollbar flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(n.default,{src:e.image,alt:e.name,width:80,height:80,className:"size-14 mb-6 rounded-full object-cover grayscale"}),(0,t.jsx)("p",{className:"font-medium mb-15",children:e.content})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-xl mb-2 font-medium",children:e.name}),(0,t.jsx)("p",{className:"text-sm",children:e.designation})]})]})})},`slide-${i}`))})})})]}),u&&(0,t.jsx)(r,{videoSrc:h,setIsDialogOpen:m})]})}],91730)},38859,e=>{"use strict";var t,i=e.i(43476),a=e.i(12329),r=e.i(46261);let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function s(e){return (t={})=>{let i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}let l={date:s({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:s({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:s({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function d(e){return(t,i)=>{let a;if("formatting"===(i?.context?String(i.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=i?.width?String(i.width):t;a=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=i?.width?String(i.width):e.defaultWidth;a=e.values[r]||e.values[t]}return a[e.argumentCallback?e.argumentCallback(t):t]}}function c(e){return(t,i={})=>{let a,r=i.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(n);if(!s)return null;let l=s[0],o=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(o)?function(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return i}(o,e=>e.test(l)):function(e,t){for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t(e[i]))return i}(o,e=>e.test(l));return a=e.valueCallback?e.valueCallback(d):d,{value:a=i.valueCallback?i.valueCallback(a):a,rest:t.slice(l.length)}}}let u={code:"en-US",formatDistance:(e,t,i)=>{let a,r=n[e];if(a="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),i?.addSuffix)if(i.comparison&&i.comparison>0)return"in "+a;else return a+" ago";return a},formatLong:l,formatRelative:(e,t,i,a)=>o[e],localize:{ordinalNumber:(e,t)=>{let i=Number(e),a=i%100;if(a>20||a<10)switch(a%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:d({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:d({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:d({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:d({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:d({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(t={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,i={})=>{let a=e.match(t.matchPattern);if(!a)return null;let r=a[0],n=e.match(t.parsePattern);if(!n)return null;let s=t.valueCallback?t.valueCallback(n[0]):n[0];return{value:s=i.valueCallback?i.valueCallback(s):s,rest:e.slice(r.length)}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},m={},h=Symbol.for("constructDateFrom");function x(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&h in e?e[h](t):e instanceof Date?new e.constructor(t):new Date(t)}function p(e,t){return x(t||e,e)}function g(e){let t=p(e),i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return i.setUTCFullYear(t.getFullYear()),e-i}function f(e,t){let i=p(e,t?.in);return i.setHours(0,0,0,0),i}function y(e,t){let i=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??m.weekStartsOn??m.locale?.options?.weekStartsOn??0,a=p(e,t?.in),r=a.getDay();return a.setDate(a.getDate()-(7*(r<i)+r-i)),a.setHours(0,0,0,0),a}function b(e,t){return y(e,{...t,weekStartsOn:1})}function w(e,t){let i=p(e,t?.in),a=i.getFullYear(),r=x(i,0);r.setFullYear(a+1,0,4),r.setHours(0,0,0,0);let n=b(r),s=x(i,0);s.setFullYear(a,0,4),s.setHours(0,0,0,0);let l=b(s);return i.getTime()>=n.getTime()?a+1:i.getTime()>=l.getTime()?a:a-1}function v(e,t){let i=p(e,t?.in),a=i.getFullYear(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??m.firstWeekContainsDate??m.locale?.options?.firstWeekContainsDate??1,n=x(t?.in||e,0);n.setFullYear(a+1,0,r),n.setHours(0,0,0,0);let s=y(n,t),l=x(t?.in||e,0);l.setFullYear(a,0,r),l.setHours(0,0,0,0);let o=y(l,t);return+i>=+s?a+1:+i>=+o?a:a-1}function j(e,t){let i=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+i}let L={y(e,t){let i=e.getFullYear(),a=i>0?i:1-i;return j("yy"===t?a%100:a,t.length)},M(e,t){let i=e.getMonth();return"M"===t?String(i+1):j(i+1,2)},d:(e,t)=>j(e.getDate(),t.length),a(e,t){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];
1default:return"am"===i?"a.m.":"p.m."}},h:(e,t)=>j(e.getHours()%12||12,t.length),H:(e,t)=>j(e.getHours(),t.length),m:(e,t)=>j(e.getMinutes(),t.length),s:(e,t)=>j(e.getSeconds(),t.length),S(e,t){let i=t.length;return j(Math.trunc(e.getMilliseconds()*Math.pow(10,i-3)),t.length)}},N={G:function(e,t,i){let a=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return i.era(a,{width:"abbreviated"});case"GGGGG":return i.era(a,{width:"narrow"});default:return i.era(a,{width:"wide"})}},y:function(e,t,i){if("yo"===t){let t=e.getFullYear();return i.ordinalNumber(t>0?t:1-t,{unit:"year"})}return L.y(e,t)},Y:function(e,t,i,a){let r=v(e,a),n=r>0?r:1-r;return"YY"===t?j(n%100,2):"Yo"===t?i.ordinalNumber(n,{unit:"year"}):j(n,t.length)},R:function(e,t){return j(w(e),t.length)},u:function(e,t){return j(e.getFullYear(),t.length)},Q:function(e,t,i){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return j(a,2);case"Qo":return i.ordinalNumber(a,{unit:"quarter"});case"QQQ":return i.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(a,{width:"narrow",context:"formatting"});default:return i.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,i){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return j(a,2);case"qo":return i.ordinalNumber(a,{unit:"quarter"});case"qqq":return i.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(a,{width:"narrow",context:"standalone"});default:return i.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,i){let a=e.getMonth();switch(t){case"M":case"MM":return L.M(e,t);case"Mo":return i.ordinalNumber(a+1,{unit:"month"});case"MMM":return i.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(a,{width:"narrow",context:"formatting"});default:return i.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,i){let a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return j(a+1,2);case"Lo":return i.ordinalNumber(a+1,{unit:"month"});case"LLL":return i.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(a,{width:"narrow",context:"standalone"});default:return i.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,i,a){let r,n,s,l,o=Math.round((y(r=p(e,a?.in),a)-(n=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??m.firstWeekContainsDate??m.locale?.options?.firstWeekContainsDate??1,s=v(r,a),(l=x(a?.in||r,0)).setFullYear(s,0,n),l.setHours(0,0,0,0),y(l,a)))/6048e5)+1;return"wo"===t?i.ordinalNumber(o,{unit:"week"}):j(o,t.length)},I:function(e,t,i){let a,r,n,s=Math.round((b(a=p(e,void 0))-(r=w(a,void 0),(n=x(a,0)).setFullYear(r,0,4),n.setHours(0,0,0,0),b(n)))/6048e5)+1;return"Io"===t?i.ordinalNumber(s,{unit:"week"}):j(s,t.length)},d:function(e,t,i){return"do"===t?i.ordinalNumber(e.getDate(),{unit:"date"}):L.d(e,t)},D:function(e,t,i){let a,r,n=function(e,t,i){let[a,r]=function(e,...t){let i=x.bind(null,e||t.find(e=>"object"==typeof e));return t.map(i)}(void 0,e,t),n=f(a),s=f(r);return Math.round((n-g(n)-(s-g(s)))/864e5)}(a=p(e,void 0),((r=p(a,void 0)).setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r))+1;return"Do"===t?i.ordinalNumber(n,{unit:"dayOfYear"}):j(n,t.length)},E:function(e,t,i){let a=e.getDay();switch(t){case"E":case"EE":case"EEE":return i.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(a,{width:"short",context:"formatting"});default:return i.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,i,a){let r=e.getDay(),n=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(n);case"ee":return j(n,2);case"eo":return i.ordinalNumber(n,{unit:"day"});case"eee":return i.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,i,a){let r=e.getDay(),n=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(n);case"cc":return j(n,t.length);case"co":return i.ordinalNumber(n,{unit:"day"});case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"});default:return i.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,i){let a=e.getDay(),r=0===a?7:a;switch(t){case"i":return String(r);case"ii":return j(r,t.length);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return i.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(a,{width:"short",context:"formatting"});default:return i.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,i){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(a,{width:"narrow",context:"formatting"});default:return i.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,i){let a,r=e.getHours();switch(a=12===r?"noon":0===r?"midnight":r/12>
1=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(a,{width:"narrow",context:"formatting"});default:return i.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,i){let a,r=e.getHours();switch(a=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return i.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(a,{width:"narrow",context:"formatting"});default:return i.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,i){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),i.ordinalNumber(t,{unit:"hour"})}return L.h(e,t)},H:function(e,t,i){return"Ho"===t?i.ordinalNumber(e.getHours(),{unit:"hour"}):L.H(e,t)},K:function(e,t,i){let a=e.getHours()%12;return"Ko"===t?i.ordinalNumber(a,{unit:"hour"}):j(a,t.length)},k:function(e,t,i){let a=e.getHours();return(0===a&&(a=24),"ko"===t)?i.ordinalNumber(a,{unit:"hour"}):j(a,t.length)},m:function(e,t,i){return"mo"===t?i.ordinalNumber(e.getMinutes(),{unit:"minute"}):L.m(e,t)},s:function(e,t,i){return"so"===t?i.ordinalNumber(e.getSeconds(),{unit:"second"}):L.s(e,t)},S:function(e,t){return L.S(e,t)},X:function(e,t,i){let a=e.getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return C(a);case"XXXX":case"XX":return M(a);default:return M(a,":")}},x:function(e,t,i){let a=e.getTimezoneOffset();switch(t){case"x":return C(a);case"xxxx":case"xx":return M(a);default:return M(a,":")}},O:function(e,t,i){let a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+k(a,":");default:return"GMT"+M(a,":")}},z:function(e,t,i){let a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+k(a,":");default:return"GMT"+M(a,":")}},t:function(e,t,i){return j(Math.trunc(e/1e3),t.length)},T:function(e,t,i){return j(+e,t.length)}};function k(e,t=""){let i=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),n=a%60;return 0===n?i+String(r):i+String(r)+t+j(n,2)}function C(e,t){return e%60==0?(e>0?"-":"+")+j(Math.abs(e)/60,2):M(e,t)}function M(e,t=""){let i=Math.abs(e);return(e>0?"-":"+")+j(Math.trunc(i/60),2)+t+j(i%60,2)}let P=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},S=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},T={p:S,P:(e,t)=>{let i,a=e.match(/(P+)(p+)?/)||[],r=a[1],n=a[2];if(!n)return P(e,t);switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",P(r,t)).replace("{{time}}",S(n,t))}},I=/^D+$/,W=/^Y+$/,D=["D","DD","YY","YYYY"],$=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,E=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,O=/^'([^]*?)'?$/,z=/''/g,F=/[a-zA-Z]/;var U=e.i(71369),H=e.i(72898),B=e.i(46932),_=e.i(3254);e.s(["default",0,({data:e,index:t=0})=>{let{blog_folder:n}=a.default.settings,{title:s,image:l,categories:o,date:d,description:c}=e.frontmatter;return(0,i.jsxs)(B.motion.div,{...(0,_.fadeInUpWithDelay)(.1*t),className:"card gradient-border grid sm:grid-cols-12 gap-x-5 gap-y-6 bg-secondary/50",children:[(0,i.jsx)("div",{className:"sm:col-span-5",children:(0,i.jsx)(r.default,{src:l,alt:s,width:500,height:880,className:"rounded-lg w-full sm:h-full h-64 object-cover"})}),(0,i.jsxs)("div",{className:"sm:col-span-7 flex flex-col justify-center",children:[(0,i.jsxs)("div",{className:"text-sm flex justify-between items-center mb-6",children:[(0,i.jsx)("span",{children:((e,t="dd MMM, yyyy")=>(function(e,t,i){let a=(void 0)??m.locale??u,r=(void 0)??void 0??m.firstWeekContainsDate??m.locale?.options?.firstWeekContainsDate??1,n=(void 0)??void 0??m.weekStartsOn??m.locale?.options?.weekStartsOn??0,s=p(e,void 0);if(!(s instanceof Date||"object"==typeof s&&"[object Date]"===Object.prototype.toString.call(s))&&"number"!=typeof s||isNaN(+p(s)))throw RangeError("Invalid time value");let l=t.match(E).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,T[t])(e,a.formatLong):e}).join("").match($).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var i;let t;return{isToken:!1,value:(t=(i=e).match(O))?t[1].replace(z,"'"):i}}if(N[t])return{isToken:!0,value:e};
1if(t.match(F))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});a.localize.preprocessor&&(l=a.localize.preprocessor(s,l));let o={firstWeekContainsDate:r,weekStartsOn:n,locale:a};return l.map(i=>{if(!i.isToken)return i.value;let r=i.value;return(W.test(r)||I.test(r))&&function(e,t,i){var a,r,n;let s,l=(a=e,r=t,n=i,s="Y"===a[0]?"years":"days of the month",`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${r}\`) for formatting ${s} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(l),D.includes(e))throw RangeError(l)}(r,t,String(e)),(0,N[r[0]])(s,r,a.localize,o)}).join("")})(new Date(e),t))(d)}),(0,i.jsx)("span",{className:"px-3 py-2 bg-secondary inline-block rounded-full text-primary",children:o[0]})]}),(0,i.jsx)("h3",{className:"mb-4 text-2xl",children:s}),(0,i.jsx)("p",{className:"font-medium mb-12 line-clamp-3",children:(0,U.plainify)(c)}),e.slug&&(0,i.jsx)(H.default,{data:{slug:`${n}/${e.slug}`}})]})]})}],38859)},96563,e=>{"use strict";var t=e.i(43476),i=e.i(48541),a=e.i(46932),r=e.i(88653),n=e.i(3254),s=e.i(71369),l=e.i(71645),o=e.i(17255),d=e.i(18566),c=e.i(25599);
1e.s(["default",0,({data:e})=>{let u=e.frontmatter,{data:m,status:h}=(0,o.useSession)(),x=(0,d.useRouter)(),[p,g]=(0,l.useState)("yearly"),[f,y]=(0,l.useState)(null),[b,w]=(0,l.useState)(null),v=async(e,t)=>{if(!m?.user)return void(0,o.signIn)("google");y(e),w(null);try{let i=await fetch("/api/payment/create-invoice",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tier:e,price:t,billingPeriod:p})}),a=await i.json();if(!i.ok){if("Already paid"===a.error)return void x.push("/create");throw Error(a.error||"Failed to create payment")}window.location.href=a.invoiceUrl}catch(e){w(e instanceof Error?e.message:"Payment failed")}finally{y(null)}},j=e=>{let t=(0,c.getTierPrice)(e.tier,p);return t>0?String(t):"monthly"===p?e.price.monthly:e.price.yearly};return u.enable&&(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"grid grid-cols-12 gap-y-12",children:[(0,t.jsxs)(a.motion.div,{className:"col-span-12 xl:col-span-4 md:pr-10",...n.fadeInUp,children:[u.badge&&(0,t.jsx)(i.default,{children:u.badge}),(0,t.jsx)(a.motion.h2,{className:"my-4 gradient-text",dangerouslySetInnerHTML:(0,s.markdownify)(u.title),initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2}}),(0,t.jsx)(a.motion.p,{className:"mb-8 text-lg",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.3},children:u.subtitle}),(0,t.jsxs)(a.motion.div,{className:"gradient-border rounded-full bg-secondary/20 max-w-fit p-1 flex items-center text-center text-sm font-medium relative overflow-hidden mb-8",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.4},children:[(0,t.jsx)(a.motion.button,{type:"button",className:`px-4 py-2.5 rounded-full cursor-pointer relative z-10 transition-colors duration-300 ${"monthly"===p?"text-text-dark":"text-white"}`,onClick:()=>g("monthly"),whileHover:{scale:1.05},whileTap:{scale:.95},children:"Monthly"}),(0,t.jsx)(a.motion.button,{type:"button",className:`px-5 sm:px-4 py-2.5 rounded-full cursor-pointer relative z-10 transition-colors duration-300 ${"yearly"===p?"text-text-dark":"text-white"}`,onClick:()=>g("yearly"),whileHover:{scale:1.05},whileTap:{scale:.95},children:"Yearly"}),(0,t.jsx)(a.motion.div,{className:"absolute inset-y-1 bg-primary rounded-full",animate:{x:"monthly"===p?"0px":"calc(50% + 40px)",width:"calc(50% - 8px)"},transition:{type:"spring",stiffness:300,damping:30}})]}),(0,t.jsxs)(a.motion.div,{className:"flex items-center gap-3 text-sm text-text-light/60",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.5},children:[(0,t.jsx)("span",{children:"Pay with:"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("span",{className:"px-2 py-1 bg-white/5 rounded text-xs",children:"BTC"}),(0,t.jsx)("span",{className:"px-2 py-1 bg-white/5 rounded text-xs",children:"ETH"}),(0,t.jsx)("span",{className:"px-2 py-1 bg-white/5 rounded text-xs",children:"+300"})]})]})]}),(0,t.jsxs)(a.motion.div,{className:"col-span-12 xl:col-span-8",initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:[(0,t.jsx)(r.AnimatePresence,{mode:"wait",children:(0,t.jsx)(a.motion.div,{className:"grid md:grid-cols-2 gap-6",variants:n.tabFade,initial:"hidden",animate:"visible",exit:"hidden",transition:{duration:.3},children:u.plans.map((e,i)=>{var r,n,s;let l,o=(r=e.tier,(l=(0,c.getTierMonthlyCredits)(r))?"yearly"===p?`One-time ${12*l} credits (12 months)`:`${l} credits per month`:null),d=(0,c.getTierFeatures)(e.tier),u=d.length>0?d:e.features,x=o?[o,...u]:u,g=(0,c.getTierTitle)(e.tier),y=g&&g!==e.tier?g:e.title;return(0,t.jsxs)(a.motion.div,{className:"card gradient-border",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.1*i},children:[(0,t.jsxs)("div",{className:"p-6 rounded-2xl bg-secondary mb-6",children:[(0,t.jsx)("h3",{className:"mb-2 text-2xl font-medium",children:y}),(0,t.jsxs)(a.motion.h4,{className:"text-h1",initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},transition:{duration:.3,delay:.1},children:["$",j(e)]},`${p}-${e.title}-price`),(0,t.jsx)("span",{className:"text-text-light/60",children:"monthly"===p?"Per month":"Per year"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h5",{className:"text-lg font-medium mb-4",children:"What's Included"}),(0,t.jsx)("ul",{className:"flex flex-col gap-y-4 mb-10",children:x.map((e,i)=>(0,t.jsxs)(a.motion.li,{className:"flex items-center text-primary",initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{duration:.3,delay:.05*i},children:[(0,t.jsx)("span",{className:"mr-3",children:(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M10.125 3.375L4.875 8.625L2.25 6",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})," ",e]},i))}),e.button&&e.button.enable&&(0,t.jsx)(a.motion.button,{onClick:()=>v(e.tier,Number(j(e))),disabled:null!==f||"loading"===h,className:"btn text-primary w-full text-center gradient-border hover:bg-primary hover:text-dark transition-colors duration-300 gradient-border-disable-hover disabled:opacity-60 disabled:cursor-not-allowed","aria-label":`${e.button.label} - ${e.title}`,whileTap:{scale:.98},initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3,delay:.3},children:(n=e.tier,s=e.button.label,"loading"===h?"Loading...":f===n?"Processing...":m?.user?s:"Sign In to Continue")})]})]},`${p}-${i}`)})},p)}),b&&(0,t.jsx)("p",{className:"mt-4 text-center text-sm text-red-400",children:b})]})]})})}])},72898,e=>{"use strict";var t=e.i(43476);e.s(["default",0,({data:e})=>(0,t.jsxs)("a",{href:e.slug,className:"flex items-center gap-2 group max-w-fit text-primary","aria-label":`Learn more about ${e.slug.replace(/\//g," ")}`,title:`Learn more about ${e.slug.replace(/\//g," ")}`,children:["Learn More",(0,t.jsx)("span",{className:"sr-only",children:" about service"}),(0,t.jsx)("span",{className:"group-hover:bg-primary p-2 rounded-full transition-bg duration-300 inline-flex",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5731 7.34872C14.6845 7.46026 14.7471 7.61146 14.7471 7.7691C14.7471 7.92675 14.6845 8.07795 14.5731 8.18949L9.81399 12.9486C9.75952 13.007 9.69385 13.0539 9.62088 13.0864C9.5479 13.119 9.46913 13.1364 9.38925 13.1378C9.30938 13.1393 9.23004 13.1246 9.15596 13.0946C9.08189 13.0647 9.0146 13.0202 8.95811 12.9637C8.90162 12.9072 8.85709 12.8399 8.82717 12.7658C8.79725 12.6918 8.78255 12.6124 8.78396 12.5326C8.78537 12.4527 8.80286 12.3739 8.83537 12.3009C8.86788 12.228 8.91476 12.1623 8.97321 12.1078L12.717 8.36399L1.46175 8.36399C1.30398 8.36399 1.15267 8.30132 1.0411 8.18975C0.929539 8.07819 0.866863 7.92688 0.866863 7.7691C0.866863 7.61133 0.929539 7.46002 1.0411 7.34845C1.15267 7.23689 1.30398 7.17422 1.46175 7.17422L12.717 7.17422L8.97321 3.43038C8.91476 3.37592 8.86788 3.31025 8.83537 3.23727C8.80286 3.1643 8.78537 3.08553 8.78396 3.00565C8.78255 2.92578 8.79725 2.84643 8.82717 2.77236C8.85709 2.69829 8.90162 2.631 8.95811 2.57451C9.0146 2.51802 9.08189 2.47348 9.15596 2.44356C9.23004 2.41365 9.30938 2.39895 9.38925 2.40036C9.46913 2.40177 9.5479 2.41925 9.62088 2.45177C9.69385 2.48428 9.75952 2.53116 9.81399 2.58961L14.5731 7.34872Z",className:"fill-white group-hover:fill-black"})})})]})])},3254,e=>{"use strict";e.s(["fadeIn",0,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8}},"fadeInRight",0,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8}},"fadeInUp",0,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7}},"fadeInUpWithDelay",0,(e=0)=>({initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8,delay:e}}),"tabFade",0,{hidden:{opacity:0},visible:{opacity:1}}])},48541,e=>{"use strict";var t=e.i(43476),i=e.i(46932),a=e.i(71645);e.s(["default",0,({children:e})=>{let r=(0,a.useMemo)(()=>
1("string"==typeof e?e:String(e)).split(""),[e]);return(0,t.jsxs)("div",{className:"badge",children:[(0,t.jsx)("svg",{width:"7",height:"6",viewBox:"0 0 7 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("circle",{cx:"3.5",cy:"3",r:"3",fill:"white"})}),(0,t.jsx)(i.motion.span,{className:"animate-letters inline-flex text-transparent",initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0,amount:.5},transition:{duration:.2},children:r.map((e,a)=>(0,t.jsx)(i.motion.span,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.35,delay:.15+.04*a,ease:[.25,.1,.25,1]},style:{display:"inline-block"},children:" "===e?"Â ":e},a))})]})}])},45831,e=>{"use strict";var t=e.i(43476),i=e.i(12329),a=e.i(71369),r=e.i(18566);e.s(["default",0,({title:e,meta_title:n,image:s,description:l,canonical:o,noindex:d})=>{let{meta_image:c,meta_author:u,meta_description:m}=i.default.metadata,{base_url:h}=i.default.site,x=(0,r.usePathname)(),p=o||`${h}${"/"===x?"":x}`;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("title",{children:(0,a.plainify)(n||e||i.default.site.title)}),(0,t.jsx)("link",{rel:"canonical",href:p}),d&&(0,t.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,t.jsx)("meta",{name:"description",content:(0,a.plainify)(l||m)}),(0,t.jsx)("meta",{name:"author",content:u}),(0,t.jsx)("meta",{property:"og:title",content:(0,a.plainify)(n||e||i.default.site.title)}),(0,t.jsx)("meta",{property:"og:description",content:(0,a.plainify)(l||m)}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("meta",{property:"og:url",content:`${h}/${x.replace("/","")}`}),(0,t.jsx)("meta",{name:"twitter:title",content:(0,a.plainify)(n||e||i.default.site.title)}),(0,t.jsx)("meta",{name:"twitter:description",content:(0,a.plainify)(l||m)}),(0,t.jsx)("meta",{property:"og:image",content:`${h}${s||c}`}),(0,t.jsx)("meta",{name:"twitter:image",content:`${h}${s||c}`}),(0,t.jsx)("meta",{name:"twitter:card",content:"summary_large_image"})]})}])},46261,e=>{"use strict";var t=e.i(43476),i=e.i(57688),a=e.i(71645);e.s(["default",0,e=>{let{src:r,fallback:n,priority:s,fetchPriority:l,...o}=e,[d,c]=(0,a.useState)(r);return(0,a.useEffect)(()=>{c(r)},[r]),(0,t.jsx)(i.default,{...o,src:d,priority:s,fetchPriority:l||"high",onError:()=>{c(n)}})}])},82710,e=>{"use strict";var t=e.i(43476),i=e.i(48541),a=e.i(3254),r=e.i(71369),n=e.i(46932);e.s(["default",0,({data:e})=>(0,t.jsxs)(n.motion.div,{...a.fadeInUp,className:"flex flex-col justify-center items-center text-center gap-y-4 mb-14 overflow-x-hidden",children:[e?.badge&&(0,t.jsx)(i.default,{children:e.badge}),(0,t.jsx)("h2",{className:"gradient-text",dangerouslySetInnerHTML:(0,r.markdownify)(e.title)}),e?.subtitle&&(0,t.jsx)("p",{className:"text-lg max-w-2xl",children:e.subt
1itle})]})])},2969,e=>{"use strict";var t=e.i(43476),i=e.i(48541),a=e.i(3254),r=e.i(71369),n=e.i(46932);e.s(["default",0,({data:e})=>(0,t.jsxs)("div",{className:"row gap-y-6 mb-15 items-center overflow-x-hidden",children:[(0,t.jsx)("div",{className:"lg:col-7",children:(0,t.jsxs)(n.motion.div,{...a.fadeIn,className:"flex flex-col",children:[e.badge&&(0,t.jsx)(i.default,{children:e.badge}),(0,t.jsx)("h2",{className:"mt-4 gradient-text",dangerouslySetInnerHTML:(0,r.markdownify)(e.title)})]})}),(0,t.jsxs)(n.motion.div,{...a.fadeInRight,className:"lg:col-5 lg:pl-20",children:[e.subtitle&&(0,t.jsx)("p",{className:"mb-10 text-lg",children:e.subtitle}),e.button&&e.button.enable&&(0,t.jsx)("a",{href:e.button.link,className:"btn btn-primary max-w-fit","aria-label":`${e.button.label} - Learn more about our services`,children:e.button.label})]})]})])},81011,e=>{"use strict";var t=e.i(43476),i=e.i(46261),a=e.i(3254),r=e.i(46932);e.s(["default",0,({feature:e})=>(0,t.jsxs)(r.motion.div,{...a.fadeInUp,className:"gradient-border rounded-lg h-full flex flex-col ",children:[(0,t.jsxs)("div",{className:"p-8",children:[(0,t.jsx)("h3",{className:"mb-4",children:e.title}),(0,t.jsx)("p",{className:"text-lg font-medium",children:e.content})]}),(0,t.jsx)("div",{className:"w-full h-[400px] overflow-hidden mt-auto",children:(0,t.jsx)(i.default,{src:e.image,alt:e.title,height:"800",width:"800",className:"size-full object-cover"})})]})])},66732,e=>{"use strict";var t=e.i(43476),i=e.i(46261),a=e.i(71369),r=e.i(72898),n=e.i(46932),s=e.i(3254);e.s(["default",0,({data:e})=>{let l=!1;return void 0!==e.index&&(l=e.index%2==0),(0,t.jsxs)(n.motion.div,{...(0,s.fadeInUpWithDelay)(e.index?.1*e.index:0),className:"gradient-border p-8 "+(l&&"bg-[url(/images/noise-pattern.png)] bg-repeat bg-auto bg-light/4 backdrop-blur-2xl"),children:[e.icon&&(0,t.jsx)(i.default,{src:e.icon,className:"mb-14",width:"64",height:"64",alt:"background image"}),(0,t.jsx)("h3",{className:"text-h4 font-normal mb-4",children:(0,a.plainify)(e.title)}),(0,t.jsx)("p",{className:"mb-10",children:(0,a.plainify)(e.subtitle).length>120?(0,a.plainify)(e.subtitle).substring(0,120)+"...":(0,a.plainify)(e.subtitle)}),e?.slug&&(0,t.jsx)(r.default,{data:{slug:e.slug}})]})}])},64945,e=>{"use strict";var t=e.i(43476),i=e.i(46932),a=e.i(88653),r=e.i(82710),n=e.i(71645);let s=({tabList:e,activeTab:a,setActiveTab:r})=>(0,t.jsx)(i.motion.ul,{className:"flex items-center gap-2 sm:gap-12 relative",initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},variants:{hidden:{},visible:{transition:{staggerChildren:.2}}},children:e.map((n,s)=>(0,t.jsxs)(i.motion.li,{className:"relative",variants:{hidden:{opacity:0,x:-50,scale:.8},visible:{opacity:1,x:0,scale:1,transition:{duration:.6,ease:"easeOut"}}},children:[(0,t.jsxs)(i.motion.button,{className:`px-4 py-2 rounded-full border border-border relative overflow-hidden cursor-pointer ${a===n?"text-text-dark transition-all duration-300":"bg-transparent text-white"}`,onClick:()=>r(n),whileHover:{scale:1.02,transition:{duration:.2}},whileTap:{scale:.98,transition:{duration:.1}},children:[(0,t.jsx)("span",{className:"relative z-10 text-sm sm:text-base",children:n}),a===n&&(0,t.jsx)(i.motion.div,{className:"absolute inset-0 bg-primary rounded-full",layoutId:"activeTab",transition:{type:"tween",stiffness:400,damping:25,duration:.5}})]}),s<e.length-1&&(0,t.jsx)(i.motion.div,{className:"absolute top-1/2 -translate-y-1/2 left-full w-12 h-px bg-primary hidden sm:block",initial:{scaleX:0,originX:0},whileInView:{scaleX:1,transition:{delay:.2*(s+1)+.3,duration:.4,ease:"easeOut"}},viewport:{once:!0}})]},s))});var l=e.i(46261),o=e.i(71369),d=e.i(3254);e.s(["default",0,({howWeWorkSection:e})=>{let c=e.frontmatter,u=c.steps.map(e=>e.category),[m,h]=(0,n.useState)(u[0]),x=c.steps.filter(e=>e.category===m);return c.enable&&(0,t.jsx)("section",{className:"section bg-transparent grid-line pt-0",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)(r.default,{data:c}),(0,t.jsx)("div",{className:"flex items-center justify-center mb-15",children:(0,t.jsx)(s,{tabList:u,activeTab:m,setActiveTab:h})}),(0,t.jsx)(a.AnimatePresence,{mode:"wait",children:(0,t.jsx)(i.motion.div,{variants:d.tabFade,initial:"hidden",animate:"visible",exit:"hidden",transition:{duration:.3},className:"flex flex-col",children:x.map((e,i)=>(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 p-10 xl:p-20 gradient-border gap-y-12 bg-secondary/40",children:[(0,t.jsxs)("div",{className:"lg:pr-6 xl:pr-16",children:[(0,t.jsx)(l.default,{src:e.icon,alt:e.category,width:80,height:80,className:"mb-14 md:mb-24"}),(0,t.jsx)("h3",{className:"mb-4 gradient-text",dangerouslySetInnerHTML:(0,o.markdownify)(e.title)}),(0,t.jsx)("p",{className:"text-lg",children:e.content})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-4",children:e.image_list.map((i,a)=>(0,t.jsx)("div",{className:`${1===a?"row-span-2":""}`,children:(0,t.jsx)(l.default,{src:i,alt:`${e.category} image ${a+1}`,width:600,height:400,className:"rounded-lg h-full!"+(i.includes("svg")?" object-contain":" object-cover")})},a))})]},`${m}-${i}`))},m)})]})})}],64945)},49858,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(46932),r=e.i(88653),n=e.i(22016),s=e.i(18566),l=e.i(57951);let o=[{id:"creations",label:"My Creations",href:"/my-creations",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})})}];e.s(["default",0,()=>{let{isAuthenticated:e}=(0,l.useAuth)(),[d,c]=(0,i.useState)(!1),[u,m]=(0,i.useState)(!1),h=(0,s.usePathname)();if(!e)return null;let x=(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between p-4 border-b border-white/10",children:[(0,t.jsxs)("div",{className:`flex items-center gap-2 ${d?"hidden":""}`,children:[(0,t.jsx)("svg",{className:"w-5 h-5 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})}),(0,t.jsx)("span",{className:"font-semibold text-white text-sm",children:"Navigation"})]}),(0,t.jsx)("button",{onClick:()=>c(!d),className:"hidden lg:flex items-center justify-center w-8 h-8 rounded-lg hover:bg-white/10 transition-colors","aria-label":d?"Expand sidebar":"Collapse sidebar",children:(0,t.jsx)("svg",{className:`w-4 h-4 text-white/70 transition-transform ${d?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 19l-7-7 7-7m8 14l-7-7 7-7"})})})]}),(0,t.jsx)("div",{className:`flex-1 p-2 ${d?"px-1":""}`,children:o.map(e=>{let i=h===e.href;return(0,t.jsxs)(n.default,{href:e.href,onClick:()=>m(!1),className:`w-full flex items-center gap-3 px-3 py-2.5 rounded-lg transition-colors ${i?"bg-primary/20 text-primary":"text-white/70 hover:bg-white/5 hover:text-white"} ${d?"justify-center px-2":""}`,children:[e.icon,!d&&(0,t.jsx)("span",{className:"text-sm font-medium",children:e.label})]},e.id)})})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`hidden lg:block flex-shrink-0 transition-all duration-300 ${d?"w-16":"w-52"}`,children:(0,t.jsx)("div",{className:"sticky top-24 bg-dark/40 backdrop-blur-sm border border-white/10 rounded-2xl h-auto overflow-hidden",children:x})}),(0,t.jsx)("button",{onClick:()=>m(!0),className:"lg:hidden fixed bottom-6 right-6 z-40 w-14 h-14 roun
1ded-full bg-primary text-text-dark shadow-lg flex items-center justify-center","aria-label":"Open menu",children:(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),(0,t.jsx)(r.AnimatePresence,{children:u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>m(!1),className:"lg:hidden fixed inset-0 z-50 bg-black/60 backdrop-blur-sm"}),(0,t.jsxs)(a.motion.div,{initial:{y:"100%"},animate:{y:0},exit:{y:"100%"},transition:{type:"spring",damping:25,stiffness:300},className:"lg:hidden fixed bottom-0 left-0 right-0 z-50 bg-body border-t border-white/10 rounded-t-3xl overflow-hidden",children:[(0,t.jsx)("div",{className:"w-12 h-1.5 bg-white/20 rounded-full mx-auto mt-3"}),(0,t.jsx)("button",{onClick:()=>m(!1),className:"absolute top-4 right-4 w-8 h-8 rounded-full bg-white/10 flex items-center justify-center","aria-label":"Close",children:(0,t.jsx)("svg",{className:"w-5 h-5 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),(0,t.jsx)("div",{className:"pt-2 pb-8",children:x})]})]})})]})}])},65959,e=>{"use strict";var t=e.i(43476),i=e.i(71645),a=e.i(46932),r=e.i(88653),n=e.i(57688),s=e.i(74080),l=e.i(17255),o=e.i(22016),d=e.i(18566),c=e.i(59335),u=e.i(57951),m=e.i(25599);let h=(0,m.getPricingTiers)().map(e=>({tier:e,title:(0,m.getTierTitle)(e),price:{monthly:(0,m.getTierPrice)(e,"monthly"),yearly:(0,m.getTierPrice)(e,"yearly")},monthlyCredits:(0,m.getTierMonthlyCredits)(e),features:(0,m.getTierFeatures)(e),popular:(0,m.getTierPopular)(e)})),x=(0,m.getCreditPackIds)().map(e=>({id:e,label:(0,m.getCreditPackLabel)(e),price:(0,m.getCreditPackPrice)(e)})).filter(e=>e.price>0);function p({onClose:e,reason:n="credits"}){let{data:p}=(0,l.useSession)(),{paymentStatus:g}=(0,u.useAuth)(),[f,y]=(0,i.useState)(!1),[b,w]=(0,i.useState)("yearly"),[v,j]=(0,i.useState)(null),[L,N]=(0,i.useState)(null),[k,C]=(0,i.useState)(null),M=(0,d.useRouter)();if((0,i.useEffect)(()=>(y(!0),document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}),[]),!f)return null;let P=!!p?.user,S=g.hasPaid&&"free"!==g.tier,T=g.tier||"free",I=(0,m.getTierPrice)(T,"monthly"),W=(0,m.getTierTitle)(T)||T,D=P?"download"===n?"Download is only available for paid users. Upgrade to download HD images.":S?`This generation requires ${c.IMAGE_CREDIT_COST} credits. Upgrade your plan or buy a credit pack.`:`This generation requires ${c.IMAGE_CREDIT_COST} credits. Upgrade your plan to get more credits.`:"Get 10 free credits after signing in. Start creating with AI now.",$=async(e,t)=>{if(!p?.user)return void(0,l.signIn)("google");j(e),N(null),C(null);try{let i=await fetch("/api/payment/create-invoice",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tier:e,price:t,billingPeriod:b,orderType:"subscription"})}),a=await i.json();if(!i.ok){if("Already paid"===a.error)return void M.push("/create");throw Error(a.error||"Failed to create payment")}window.location.href=a.invoiceUrl}catch(e){C(e instanceof Error?e.message:"Payment failed")}finally{j(null)}},E=async(e,t)=>{if(!p?.user)return void(0,l.signIn)("google");N(e),j(null),C(null);try{let i=await fetch("/api/payment/create-invoice",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({packId:e,price:t,orderType:"credits"})}),a=await i.json();if(!i.ok){if("Already paid"===a.error)return void M.push("/create");throw Error(a.error||"Failed to create payment")}window.location.href=a.invoiceUrl}catch(e){C(e instanceof Error?e.message:"Payment failed")}finally{N(null)}},O=h.map(e=>({...e,displayPrice:"monthly"===b?e.price.monthly:e.price.yearly})),z=x.map(e=>({...e,credits:(0,m.getCreditPackCredits)(T,e.id)})),F=e=>e?"yearly"===b?`${12*e} credits one-time (12 months)`:`${e} credits/month`:null,U=(0,t.jsx)(a.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-black/90 backdrop-blur-md p-4",onClick:t=>t.target===t.currentTarget&&e?.(),children:(0,t.jsxs)(a.motion.div,{initial:{scale:.9,opacity:0,y:20},animate:{scale:1,opacity:1,y:0},exit:{scale:.9,opacity:0,y:20},transition:{type:"spring",damping:25,stiffness:300},className:"badge-modal relative bg-body rounded-2xl p-6 md:p-8 max-w-lg w-full max-h-[90vh] overflow-y-auto hide-scrollbar",children:[e&&(0,t.jsx)("button",{onClick:e,className:"absolute top-4 right-4 w-8 h-8 rounded-full bg-white/5 hover:bg-white/10 flex items-center justify-center transition-colors",children:(0,t.jsx)("svg",{className:"w-4 h-4 text-text-light/60",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)(a.motion.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",delay:.1,damping:15},className:"w-20 h-20 mx-auto mb-6 rounded-2xl bg-gradient-to-br from-primary/20 to-primary/5 flex items-center justify-center border border-primary/20",children:P?(0,t.jsx)("svg",{className:"w-10 h-10 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13 10V3L4 14h7v7l9-11h-7z"})}):(0,t.jsx)("svg",{className:"w-10 h-10 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})}),(0,t.jsx)(a.motion.h2,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.15},className:"text-2xl md:text-3xl font-bold mb-3 gradient-text",children:P?"download"===n?"Upgrade to Download":"Insufficient Credits":"Welcome"}),(0,t.jsx)(a.motion.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-text-light/70 mb-8 text-base",children:D}),p?.user?(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.25},className:"space-y-6",children:[(0,t.jsxs)("div",{className:"gradient-border rounded-full bg-secondary/20 max-w-fit mx-auto p-1 grid grid-cols-2 text-sm font-medium relative",children:[(0,t.jsx)("button",{type:"button",className:`px-5 py-2 rounded-full cursor-pointer relative z-10 transition-colors duration-300 ${"monthly"===b?"text-text-dark":"text-white"}`,onClick:()=>w("monthly"),children:"Monthly"}),(0,t.jsxs)("button",{type:"button",className:`px-5 py-2 rounded-full cursor-pointer relative z-10 transition-colors duration-300 ${"yearly"===b?"text-text-dark":"text-white"}`,onClick:()=>w("yearly"),children:["Yearly",(0,t.jsx)("span",{className:"ml-1 text-xs opacity-80",children:"-17%"})]}),(0,t.jsx)(a.motion.div,{className:"absolute top-1 bottom-1 left-1 w-[calc(50%-4px)] bg-primary rounded-full",initial:!1,animate:{x:"monthly"===b?0:"100%"},transition:{type:"spring",stiffness:400,damping:30}})]}),(0,t.jsx)(r.AnimatePresence,{mode:"wait",children:(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},className:"grid gap-4",children:O.map((e,i)=>{let r=S&&e.tier===T,n=(e=>{if(!S)return!0;if(e===T)return!1;let t=(0,m.getTierPrice)(e,"monthly");return!I||!t||t>I})(e.tier),s=!S||n,l=r?"Current Plan":S?n?"Upgrade":"Not available":"Select";return(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1*i},className:`relative rounded-xl p-4 text-left transition-all duration-300 ${e.popular?"card gradient-border":"bg-secondary/30 border border-border/50 hover:border-border"}`,children:[e.popular&&(0,t.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:(0,t.jsxs)("span",{className:"badge text-xs px-3 py-1",children:[(0,t.jsx)("svg",{width:"5",height:"5",viewBox:"0 0 7 6",fill:"none",className:"mr-1",children:(0,t.jsx)("circle",{cx:"3.5",cy:"3",r:"3",fill:"white"})}),"Popular"]})}),(0,t.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-text",children:e.title}),(0,t.jsxs)("div",{className:"flex items-baseline gap-1 mt-1",children:[(0,t.jsxs)("span",{className:"text-2xl font-bold gradient-text",children:["$",e.displayPrice]}),(0,t.jsxs)("span",{className:"text-text-light/50 text-sm",children:["/","monthly"===b?"mo":"yr"]})]})]}),(0,t.jsx)(a.motion.button,{type:"button",onClick:()=>s?$(e.tier,e.displayPrice):void 0,disabled:null!==v||null!==L||!s,className:`btn text-sm px-5 py-2 disabled:opacity-60 disabled:cursor-not-allowed ${e.popular?"btn-primary":"btn-outline-primary gradient-border gradient-border-disable-hover"}`,whileHover:{scale:1.02},whileTap:{scale:.98},children:v===e.tier?(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsxs)("svg",{className:"animate-spin w-4 h-4",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),"Processing"]}):l})]}),(0,t.jsx)("ul",{className:"flex flex-wrap gap-2",children:(F(e.monthlyCredits)?[F(e.monthlyCredits),...e.features]:e.features).map((e,i)=>(0,t.jsxs)("li",{className:"flex items-center text-xs text-text-light/70",children:[(0,t.jsx)("svg",{className:"w-3.5 h-3.5 text-primary mr-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),e]}
1,i))})]},`${e.tier}-${b}`)})},b)}),S&&z.length>0&&(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-sm font-semibold text-text",children:"Credit Packs"}),(0,t.jsxs)("p",{className:"text-xs text-text-light/60",children:["Based on your ",W," plan (+10% bonus)."]})]}),(0,t.jsx)("div",{className:"grid gap-3 sm:grid-cols-2",children:z.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>E(e.id,e.price),disabled:null!==v||null!==L,className:"rounded-xl border border-border/50 bg-secondary/20 p-4 text-left transition-colors hover:border-primary/40 disabled:opacity-60 disabled:cursor-not-allowed",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,t.jsx)("span",{className:"text-sm font-semibold",children:e.label}),(0,t.jsxs)("span",{className:"text-sm font-semibold text-text",children:["$",e.price]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-xs text-text-light/60",children:[(0,t.jsxs)("span",{children:[e.credits," credits"]}),L===e.id&&(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsxs)("svg",{className:"animate-spin w-3.5 h-3.5",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",fill:"none"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}),"Processing"]})]})]},e.id))})]}),(0,t.jsxs)(o.default,{href:"/pricing",className:"inline-flex items-center gap-2 text-sm text-text-light/60 hover:text-primary transition-colors",children:["View full plan comparison",(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-3 text-xs text-text-light/40 pt-2 border-t border-border/30",children:[(0,t.jsx)("span",{children:"Supported:"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("span",{className:"px-2 py-1 bg-white/5 rounded",children:"BTC"}),(0,t.jsx)("span",{className:"px-2 py-1 bg-white/5 rounded",children:"ETH"}),(0,t.jsx)("span",{className:"px-2 py-1 bg-white/5 rounded",children:"+300"})]})]})]}):(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.25},className:"space-y-4",children:[(0,t.jsxs)(a.motion.button,{onClick:()=>(0,l.signIn)("google"),className:"btn btn-primary w-full py-3.5 flex items-center justify-center gap-3",whileHover:{scale:1.02},whileTap:{scale:.98},children:[(0,t.jsxs)("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{fill:"currentColor",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,t.jsx)("path",{fill:"currentColor",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,t.jsx)("path",{fill:"currentColor",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,t.jsx)("path",{fill:"currentColor",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),"Sign in with Google"]}),(0,t.jsx)("p",{className:"text-xs text-text-light/40",children:"By signing in, you agree to our Terms of Service and Privacy Policy"})]}),(0,t.jsx)(r.AnimatePresence,{children:k&&(0,t.jsx)(a.motion.p,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"mt-4 text-sm text-red-400 bg-red-400/10 rounded-lg px-4 py-2",children:k})})]})]})});return(0,s.createPortal)(U,document.body)}let g=({images:e,isLoading:a=!1,showDownload:r=!1,canDownload:s=!0})=>{let[l,o]=(0,i.useState)(0),[d,c]=(0,i.useState)(!1),[u,m]=(0,i.useState)(!1),h=async()=>{if(!s)return void m(!0);let t=e[l];c(!0);try{let e=await fetch(t),i=await e.blob(),a=window.URL.createObjectURL(i),r=document.createElement("a");r.href=a,r.download=`grokbikini-${Date.now()}.png`,document.body.appendChild(r),r.click(),document.body.removeChild(r),window.URL.revokeObjectURL(a)}catch(e){console.error("Download failed:",e)}finally{c(!1)}};return((0,i.useEffect)(()=>{e.length>0&&o(0)},[e.length]),e&&0!==e.length)?(0,t.jsxs)("div",{className:"gradient-border bg-dark/20 rounded-2xl p-4 md:p-6",children:[(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-xl",children:[(0,t.jsx)(n.default,{src:e[l],alt:`AI bikini design ${l+1}`,width:960,height:720,className:"w-full h-auto object-cover",priority:!0,unoptimized:!0}),a&&(0,t.jsxs)("div",{className:"absolute inset-0 bg-black/60 flex flex-col items-center justify-center",children:[(0,t.jsx)("div",{className:"w-12 h-12 border-4 border-primary border-t-transparent roun
1ded-full animate-spin mb-4"}),(0,t.jsx)("p",{className:"text-white text-sm",children:"Generating your image..."})]})]}),(0,t.jsxs)("div",{className:"mt-4 flex items-center justify-center gap-4",children:[e.length>1&&(0,t.jsx)("button",{type:"button",className:"btn btn-outline-primary gradient-border px-6",onClick:()=>{o(t=>(t-1+e.length)%e.length)},children:"Previous"}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[e.length>1&&(0,t.jsxs)("span",{className:"text-sm text-text-light/70",children:[l+1," / ",e.length]}),r&&(0,t.jsxs)("button",{type:"button",className:`btn btn-outline-primary gradient-border px-4 py-2 flex items-center gap-2 ${s?"":"opacity-70"}`,onClick:h,disabled:d,"aria-disabled":!s,children:[d?(0,t.jsx)("span",{className:"w-4 h-4 border-2 border-primary border-t-transparent rounded-full animate-spin"}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})}),s?"Download":"Upgrade to Download"]})]}),e.length>1&&(0,t.jsx)("button",{type:"button",className:"btn btn-primary px-6",onClick:()=>{o(t=>(t+1)%e.length)},children:"Next"})]}),u&&(0,t.jsx)(p,{reason:"download",onClose:()=>m(!1)})]}):(0,t.jsx)("div",{className:"gradient-border bg-dark/20 rounded-2xl p-6 text-center text-text-light/70",children:"No images to display."})},f=({onImageGenerated:e=()=>{},onLoadingChange:a=()=>{},onHistoryUpdated:n=()=>{}})=>{let[s,l]=(0,i.useState)(""),[o,d]=(0,i.useState)(!1),[c,m]=(0,i.useState)(null),[h,x]=(0,i.useState)(null),[g,f]=(0,i.useState)(!1),y=(0,i.useRef)(null),{checkCanGenerate:b,recordGuestGeneration:w,refreshPaymentStatus:v,isAuthenticated:j}=(0,u.useAuth)(),L=!j,N=(0,i.useCallback)(async e=>{for(let t=0;t<36;t++){if(y.current?.signal.aborted)return null;try{let t=await fetch(`/api/check-task?resultUrl=${encodeURIComponent(e)}`),i=await t.json();if(!t.ok)throw Error(i?.error||"Failed to check task status");let a=i.status;if(m("processing"===a?"Processing...":"Generating..."),"completed"===a&&i.imageUrl)return i.imageUrl;if("failed"===a||"error"===a)throw Error(i.error||"Image generation failed");await new Promise(e=>setTimeout(e,1e4))}catch(e){if(y.current?.signal.aborted)return null;throw e}}throw Error("Timeout: Image generation took too long")},[]),k=async t=>{if(t.preventDefault(),!o){if(!s.trim())return void x("Please enter a prompt.");if(!b())return void f(!0);y.current=new AbortController,d(!0),x(null),m("Submitting..."),a(!0);try{let t=await fetch("/api/generate-image",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:s})}),i=await t.json().catch(()=>null);if(!t.ok){if(401===t.status||402===t.status)return void f(!0);let e=i?.error||"Image generation failed. Please try again.";x(e);return}let{resultUrl:a}=i;if(!a)return void x("Task info is missing from the response.");m("Generating...");let r=await N(a);if(r){e(r);try{await fetch("/api/history",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:"generate",prompt:s,outputImageUrl:r})}),n()}catch(e){console.error("Failed to save history:",e)}l(""),w(),v()}}catch(e){y.current?.signal.aborted||x(e instanceof Error?e.message:"Unexpected error")}finally{d(!1),m(null),y.current=null,a(!1)}}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"gradient-border bg-dark/20 rounded-2xl p-6 md:p-8",children:(0,t.jsxs)("form",{onSubmit:k,className:"space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"image-prompt",className:"form-label",children:"Prompt"}),(0,t.jsx)("textarea",{id:"image-prompt",className:"form-input min-h-32 resize-y",placeholder:"Describe your perfect bikini design...",value:s,onChange:e=>l(e.target.value),required:!0})]}),(0,t.jsx)("button",{type:L?"button":"submit",className:"btn btn-primary px-8 disabled:cursor-not-allowed disabled:opacity-60",disabled:o,onClick:L?()=>f(!0):void 0,children:o?c||"Generating...":j?"Generate Image":"Sign in to Generate - 10 Free Credits"}),h&&(0,t.jsx)("p",{role:"alert",className:"text-sm text-red-400",children:h})]})}),(0,t.jsx)(r.AnimatePresence,{children:g&&(0,t.jsx)(p,{onClose:()=>f(!1)})})]})},y=({onImageGenerated:e=()=>{},onLoadingChange:a=()=>{},onHistoryUpdated:n=()=>{}})=>{let[s,l]=(0,i.useState)(null),[o,d]=(0,i.useState)(null),[c,m]=(0,i.useState)(""),[h,x]=(0,i.useState)(!1),[g,f]=(0,i.useState)(!1),[y,b]=(0,i.useState)(null),[w,v]=(0,i.useState)(null),[j,L]=(0,i.useState)(!1),[N,k]=(0,i.useState)(!1),C=(0,i.useRef)(null),M=(0,i.useRef)(null),{checkCanGenerate:P,recordGuestGeneration:S,refreshPaymentStatus:T,isAuthenticated:I}=(0,u.useAuth)(),W=!I,D=(0,i.useCallback)(async e=>{for(let t=0;t<36;t++){if(M.current?.signal.aborted)return null;try{let t=await fetch(`/api/check-task?resultUrl=${encodeURIComponent(e)}`),i=await t.json();if(!t.ok)throw Error(i?.error||"Failed to check task status");let a=i.status;if(b("processing"===a?"Processing...":"Editing..."),"completed"===a&&i.imageUrl)return i.imageUrl;if("failed"===a||"error"===a)throw Error(i.error||"Image editing failed");await new Promise(e=>setTimeout(e,1e4))}catch(e){if(M.current?.signal.aborted)return null;throw e}}throw Error("Timeout: Image editing took too long")},[]),$=async e=>{if(!e.type.startsWith("image/"))return void v("Please select an image file.");d(URL.createObjectURL(e)),v(null),x(!0);try{let t=new FormData;t.append("file",e);let i=await fetch("/api/upload-media",{method:"POST",body:t}),a=await i.json().catch(()=>null);if(!i.ok){let e=a?.error||"File upload failed. Please try again.";v(e),d(null);return}let r=a?.downloadUrl;if(!r){v("Download URL is missing from the response."),d(null);return}l(r)}catch{v("Unexpected error while uploading file."),d(null)}finally{x(!1)}},E=async t=>
1{if(t.preventDefault(),!g&&!h){if(!s)return void v("Please upload an image first.");if(!c.trim())return void v("Please enter an edit prompt.");if(!P())return void k(!0);M.current=new AbortController,f(!0),v(null),b("Submitting..."),a(!0);try{let t=await fetch("/api/edit-image",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({imageUrl:s,prompt:c})}),i=await t.json().catch(()=>null);if(!t.ok){if(401===t.status||402===t.status)return void k(!0);let e=i?.error||"Image editing failed. Please try again.";v(e);return}let{resultUrl:a}=i;if(!a)return void v("Task info is missing from the response.");b("Editing...");let r=await D(a);if(r){e(r);try{await fetch("/api/history",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:"edit",prompt:c,inputImageUrl:s,outputImageUrl:r})}),n()}catch(e){console.error("Failed to save history:",e)}m(""),l(null),d(null),S(),T()}}catch(e){M.current?.signal.aborted||v(e instanceof Error?e.message:"Unexpected error")}finally{f(!1),b(null),M.current=null,a(!1)}}};return(0,t.jsxs)("div",{className:"gradient-border bg-dark/20 rounded-2xl p-6 md:p-8",children:[(0,t.jsxs)("form",{onSubmit:E,className:"space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"form-label",children:"Upload Image"}),(0,t.jsx)("input",{ref:C,type:"file",accept:"image/*",onChange:e=>{let t=e.target.files?.[0];t&&$(t)},className:"hidden"}),o?(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("img",{src:o,alt:"Preview",className:"w-full h-48 object-cover rounded-xl"}),h&&(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50 rounded-xl flex items-center justify-center",children:(0,t.jsx)("div",{className:"text-white text-sm",children:"Uploading..."})}),!h&&(0,t.jsx)("button",{type:"button",onClick:()=>{l(null),d(null),v(null),C.current&&(C.current.value="")},className:"absolute top-2 right-2 bg-red-500 hover:bg-red-600 text-white rounded-full w-8 h-8 flex items-center justify-center transition-colors",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}):(0,t.jsx)("div",{onClick:()=>{C.current?.click()},onDrop:e=>{e.preventDefault(),L(!1);let t=e.dataTransfer.files[0];t&&$(t)},onDragOver:e=>{e.preventDefault(),L(!0)},onDragLeave:e=>{e.preventDefault(),L(!1)},className:`border-2 border-dashed rounded-xl p-8 text-center cursor-pointer transition-colors ${j?"border-primary bg-primary/10":"border-gray-600 hover:border-primary/50"}`,children:(0,t.jsxs)("div",{className:"text-gray-400",children:[(0,t.jsx)("svg",{className:"mx-auto h-12 w-12 mb-4",stroke:"currentColor",fill:"none",viewBox:"0 0 48 48",children:(0,t.jsx)("path",{d:"M28 8H12a4 4 0 00-4 4v20m32-12v8m0 0v8a4 4 0 01-4 4H12a4 4 0 01-4-4v-4m32-4l-3.172-3.172a4 4 0 00-5.656 0L28 28M8 32l9.172-9.172a4 4 0 015.656 0L28 28m0 0l4 4m4-24h8m-4-4v8m-12 4h.02",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})}),(0,t.jsxs)("p",{className:"text-sm",children:["Drag and drop an image, or"," ",(0,t.jsx)("span",{className:"text-primary",children:"click to browse"})]}),(0,t.jsx)("p",{className:"text-xs mt-2 text-gray-500",children:"Supports JPG, PNG, WebP"})]})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"edit-prompt",className:"form-label",children:"Edit Prompt"}),(0,t.jsx)("textarea",{id:"edit-prompt",className:"form-input min-h-32 resize-y",placeholder:"Describe what changes you want to make...",value:c,onChange:e=>m(e.target.value),required:!0})]}),(0,t.jsx)("button",{type:W?"button":"submit",className:"btn btn-primary px-8 disabled:cursor-not-allowed disabled:opacity-60",disabled:g||h||I&&!s,onClick:W?()=>k(!0):void 0,children:g?y||"Editing...":I?"Edit Image":"Sign in to Edit - 10 Free Credits"}),w&&(0,t.jsx)("p",{role:"alert",className:"text-sm text-red-400",children:w})]}),(0,t.jsx)(r.AnimatePresence,{children:N&&(0,t.jsx)(p,{onClose:()=>k(!1)})})]})};var b=e.i(49858);let w=[{id:"edit",label:"Edit"},{id:"generate",label:"Generate"}];e.s(["default",0,({defaultImages:e})=>{let[n,s]=(0,i.useState)("edit"),[l,o]=(0,i.useState)([]),[d,c]=(0,i.useState)(!1),{paymentStatus:m}=(0,u.useAuth)(),h=e=>{o(t=>[e,...t])},x=e=>{c(e)},p=l.length>0?l:e,v=m.hasPaid;return(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row gap-6 items-start",children:[(0,t.jsx)(b.default,{}),(0,t.jsxs)("div",{className:"flex-1 grid grid-cols-1 lg:grid-cols-2 gap-10 items-start",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex items-center gap-4 mb-6",children:w.map(e=>(0,t.jsxs)(a.motion.button,{type:"button",onClick:()=>s(e.id),className:`px-4 py-2 rounded-full border border-border relative overflow-hidden cursor-pointer transition-colors duration-300 ${n===e.id?"text-text-dark":"bg-transparent text-white"}`,whileHover:{scale:1.02,transition:{duration:.2}},whileTap:{scale:.98,transition:{duration:.1}},children:[(0,t.jsx)("span",{className:"relative z-10 text-sm sm:text-base font-medium",children:e.label}),n===e.id&&(0,t.jsx)(a.motion.div,{className:"absolute inset-0 bg-primary rounded-full",layoutId:"imageTab",transition:{type:"tween",duration:.3}})]},e.id))}),(0,t.jsx)(r.AnimatePresence,{mode:"wait",children:(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:"generate"===n?(0,t.jsx)(f,{onImageGenerated:h,onLoadingChange:x}):(0,t.jsx)(y,{onImageGenerated:h,onLoadingChange:x})},n)})]}),(0,t.jsx)(g,{images:p,isLoading:d,showDownload:l.length>0,canDownload:v})]})]})}],65959)},59619,e=>{"use strict";var t=e.i(43476),i=e.i(46261),a=e.i(71369),r=e.i(46932),n=e.i(22016),s=e.i(48541);let l=()=>(0,t.jsxs)("svg",{className:"absolute top-0 left-0 -z-1 w-full hidden sm:block",width:"1920",height:"907",viewBox:"0 0 1920 907",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsxs)("g",{className:"light-dramatic-entrance",style:{mixBlendMode:"plus-lighter"},filter:"url(#filter0_f_232_4350)",children:[(0,t.jsx)("g",{clipPath:"url(#paint0_angular_232_4350_clip_path)",children:(0,t.jsx)("g",{transform:"matrix(-1.84296 3.99363 -2.97381 -1.37234 2742.29 -3329.24)",children:(0,t.jsx)("foreignObject",{x:"-1039.58",y:"-1039.58",width:"2079.16",height:"2079.16",children:(0,t.jsx)("div",{style:{background:"conic-gradient(from 90deg,rgba(255, 255, 255, 1) 0deg,rgba(255, 255, 255, 0.25) 16.9322deg,rgba(255, 255, 255, 0.2) 30.4561deg,rgba(255, 255, 255, 0) 41.383deg,rgba(255, 255, 255, 0.2) 348.768deg,rgba(255, 255, 255, 0.8) 353.261deg,rgba(255, 255, 255, 0.5) 360deg)",height:"100%",width:"100%",opacity:.6}})})})}),(0,t.jsx)("path",{d:"M2972.11 -3259.51L2484.68 -2084.96L3163.08 -3160.57L2555.55 -2043.4L3342.66 -3042.21L2621.68 -1994.66L3508.89 -2905.72L2682.36 -1939.28L3659.94 -2752.61L2736.92 -1877.86L3794.15 -2584.54L2784.75 -1811.07L3910.07 -2403.37L2825.34 -1739.64L4006.41 -2211.07L2858.25 -1664.37L4082.12 -2009.76L2883.1 -1586.06L4136.37 -1801.64L2899.64 -1505.59L4168.58 -1588.98L2907.67 -1423.83L4178.37 -1374.13L2907.11 -1341.68L4165.66 -1159.42L2897.97 -1260.04L4130.57 -947.224L2880.35 -1179.8L4073.5 -739.856L2854.43 -1101.84L3995.06 -539.59L2820.51 -1027.02L3896.11 -348.62L2778.95 -956.152L3777.75 -169.039L2730.21 -890.018L3641.26 -2.81312L2674.82 -829.341L3488.15 148.235L2613.4 -774.786L3320.09 282.451L2546.61 -726.95L3138.91 398.364L2475.19 -686.357L2946.62 494.704L2399.91 -653.453L2745.31 570.417L2321.61 -628.598L2537.18 624.671L2241.14 -612.063L2324.53 656.874L2159.38 -604.031L2109.67 666.672L2077.23 -604.588L1894.97 653.957L1995.58 -613.73L1682.77 618.869L1915.34 -631.356L1475.4 561.793L1804.13 -686.357L1166.07 561.793L1733.24 -726.95L777.406 786.039L1667.8 -766.396L759.789 394.984L1625.56 -781.494L738.358 129.562L1564.89 -836.878L587.31 -23.5513L1510.33 -898.302L453.094 -191.615L1462.49 -965.091L337.181 -372.787L1421.9 -1036.52L240.841 -565.083L1389 -1111.79L165.128 -766.396L1364.14 -1190.09L110.873 -974.52L1347.61 -1270.57L78.6709 -1187.18L1339.58 -1352.33L68.8732 -1402.03L1340.13 -1434.48L81.5878 -1616.73L1349.28 -1516.12L116.675 -1828.93L1366.9 -1596.36L173.751 -2036.3L1392.82 -1674.32L252.191 -2236.57L1426.74 -1749.14L351.134 -2427.54L1468.3 -1820.01L469.497 -2607.12L1517.04 -1886.14L605.983 -2773.34L1572.42 -1946.82L759.096 -2924.39L1633.85 -2001.37L927.16 -3058.61L1700.64 -2049.21L1108.33 -3174.52L1772.06 -2089.8L1300.63 -3270.86L1847.34 -2122.7L1501.94 -3346.57L1925.64 -2147.56L1710.06 -3400.83L2006.11 -2164.09L1922.72 -3433.03L2087.87 -2172.13L2137.58 -3442.83L2170.02 -2171.57L2352.28 -3430.11L2251.66 -2162.43L2564.48 -3395.03L2331.9 -2144.8L2771.85 -3337.95L2409.86 -2118.88L2972.11 -3259.51Z"})]}),(0,t.jsxs)("defs",{children:[(0,t.jsxs)("filter",{id:"filter0_f_232_4350",x:"-51.127",y:"-3562.83",width:"4349.5",height:"4468.87",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,t.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,t.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,t.jsx)("feGaussianBlur",{stdDeviation:"60",result:"effect1_foregroundBlur_232_4350"})]}),(0,t.jsx)("clipPath",{id:"paint0_angular_232_4350_clip_path",children:(0,t.jsx)("path",{d:"M2972.11 -3259.51L2484.68 -2084.96L3163.08 -3160.57L2555.55 -2043.4L3342.66 -3042.21L2621.68 -1994.66L3508.89 -2905.72L2682.36 -1939.28L3659.94 -2752.61L2736.92 -1877.86L3794.15 -2584.54L2784.75 -1811.07L3910.07 -2403.37L2825.34 -1739.64L4006.41 -2211.07L2858.25 -1664.37L4082.12 -2009.76L2883.1 -1586.06L4136.37 -1801.64L2899.64 -1505.59L4168.58 -1588.98L2907.67 -1423.83L4178.37 -1374.13L2907.11 -1341.68L4165.66 -1159.42L2897.97 -1260.04L4130.57 -947.224L2880.35 -1179.8L4073.5 -739.856L2854.43 -1101.84L3995.06 -539.59L2820.51 -1027.02L3896.11 -348.62L2778.95 -956.152L3777.75 -169.039L2730.21 -890.018L3641.26 -2.81312L2674.82 -829.341L3488.15 148.235L2613.4 -774.786L3320.09 282.451L2546.61 -726.95L3138.91 398.364L2475.19 -686.357L2946.62 494.704L2399.91 -653.453L2745.31 570.417L2321.61 -628.598L2537.18 624.671L2241.14 -612.063L2324.53 656.874L2159.38 -604.031L2109.67 666.672L2077.23 -604.588L1894.97 653.957L1995.58 -613.73L1682.77 618.869L1915.34 -631.356L1475.4 561.793L1804.13 -686.357L1166.07 561.793L1733.24 -726.95L777.406 786.039L1667.8 -766.396L759.789 394.984L1625.56 -781.494L738.358 129.562L1564.89 -836.878L587.31
1-23.5513L1510.33 -898.302L453.094 -191.615L1462.49 -965.091L337.181 -372.787L1421.9 -1036.52L240.841 -565.083L1389 -1111.79L165.128 -766.396L1364.14 -1190.09L110.873 -974.52L1347.61 -1270.57L78.6709 -1187.18L1339.58 -1352.33L68.8732 -1402.03L1340.13 -1434.48L81.5878 -1616.73L1349.28 -1516.12L116.675 -1828.93L1366.9 -1596.36L173.751 -2036.3L1392.82 -1674.32L252.191 -2236.57L1426.74 -1749.14L351.134 -2427.54L1468.3 -1820.01L469.497 -2607.12L1517.04 -1886.14L605.983 -2773.34L1572.42 -1946.82L759.096 -2924.39L1633.85 -2001.37L927.16 -3058.61L1700.64 -2049.21L1108.33 -3174.52L1772.06 -2089.8L1300.63 -3270.86L1847.34 -2122.7L1501.94 -3346.57L1925.64 -2147.56L1710.06 -3400.83L2006.11 -2164.09L1922.72 -3433.03L2087.87 -2172.13L2137.58 -3442.83L2170.02 -2171.57L2352.28 -3430.11L2251.66 -2162.43L2564.48 -3395.03L2331.9 -2144.8L2771.85 -3337.95L2409.86 -2118.88L2972.11 -3259.51Z"})})]})]});var o=e.i(3254);let d=({brand_logos:e})=>{if(!e?.enable||!e?.logos||0===e.logos.length)return null;let a=[...e.logos,...e.logos,...e.logos];return(0,t.jsx)("div",{className:"z-10 flex items-center relative w-3/5 mx-auto pb-4 overflow-hidden",children:(0,t.jsx)(r.motion.div,{className:"flex gap-8",animate:{x:["0%","-33.33%"]},transition:{x:{repeat:1/0,repeatType:"loop",duration:12,ease:"linear"}},whileHover:{transition:{duration:40,ease:"linear"},animationPlayState:"paused"},children:a.map((a,r)=>(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("a",{href:a?.link,"aria-label":`Visit ${a?.link||"partner website"}`,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(i.default,{src:a?.image,alt:`Partner logo ${r%e.logos.length+1}`,className:"w-[120px] grayscale opacity-70 hover:opacity-100 hover:grayscale-0 transition-all duration-300",width:"100",height:"100"})})},`${r}-${Math.floor(r/e.logos.length)}`))})})};e.s(["default",0,({banner:e,brand_logos:c})=>(0,t.jsxs)("section",{className:"bg-dark md:pt-56 pt-40 pb-40 relative z-10",children:[(0,t.jsx)(l,{}),(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)(r.motion.div,{...o.fadeInUp,className:"flex flex-col justify-center items-center text-center",children:[e?.badge&&(0,t.jsx)(s.default,{children:e?.badge}),(0,t.jsx)("h1",{className:"mt-6 mb-4 gradient-text hero-text",dangerouslySetInnerHTML:(0,a.markdownify)(e?.title)}),(0,t.jsx)("p",{className:"mb-10 text-xl",dangerouslySetInnerHTML:(0,a.markdownify)(e?.content||"")}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-center gap-4",children:[e?.button_fill&&e?.button_fill?.enable&&(0,t.jsx)(n.default,{href:e?.button_fill?.link,className:"btn btn-primary",children:e?.button_fill?.label}),e?.button_outline&&e?.button_outline?.enable&&(0,t.jsx)(n.default,{href:e?.button_outline?.link,className:"btn btn-outline-primary gradient-border",children:e?.button_outline?.label})]})]}),(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.8,ease:"easeOut"},className:"relative mt-20 xl:mt-50",children:(0,t.jsx)(d,{brand_logos:c})})]}),e?.image&&(0,t.jsx)(r.motion.div,{className:"absolute bottom-0 -z-1 w-full",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:1,ease:"easeOut"},children:(0,t.jsx)(i.default,{src:e?.image,width:"1200",height:"430",alt:"banner image",className:"w-full xl:h-auto object-cover",loading:"eager"})})]})],59619)}]);
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.