PageSourceSearch

https://themefisher.com/_next/static/chunks/09i3puelgf-3f.js?dpl=dpl_81pnSCPXv9qqSLtF7sLTZFxsyLT9

js themefisher.com collected 2026-10-03 19:36:06 UTC 40,999 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,586414,t=>{"use strict";var e;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 a(t){return (e={})=>{let n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}let r={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({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:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},i={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(t){return(e,n)=>{let a;if("formatting"===(n?.context?String(n.context):"standalone")&&t.formattingValues){let e=t.defaultFormattingWidth||t.defaultWidth,r=n?.width?String(n.width):e;a=t.formattingValues[r]||t.formattingValues[e]}else{let e=t.defaultWidth,r=n?.width?String(n.width):t.defaultWidth;a=t.values[r]||t.values[e]}return a[t.argumentCallback?t.argumentCallback(e):e]}}function o(t){return(e,n={})=>{let a,r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],s=e.match(i);if(!s)return null;let o=s[0],u=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(u)?function(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}(u,t=>t.test(o)):function(t,e){for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}(u,t=>t.test(o));return a=t.valueCallback?t.valueCallback(l):l,{value:a=n.valueCallback?n.valueCallback(a):a,rest:e.slice(o.length)}}}let u={code:"en-US",formatDistance:(t,e,a)=>{let r,i=n[t];if(r="string"==typeof i?i:1===e?i.one:i.other.replace("{{count}}",e.toString()),a?.addSuffix)if(a.comparison&&a.comparison>0)return"in "+r;else return r+" ago";return r},formatLong:r,formatRelative:(t,e,n,a)=>i[t],localize:{ordinalNumber:(t,e)=>{let n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:s({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:s({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","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({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:(e={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)},(t,n={})=>{let a=t.match(e.matchPattern);if(!a)return null;let r=a[0],i=t.match(e.parsePattern);if(!i)return null;let s=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:s=n.valueCallback?n.valueCallback(s):s,rest:t.slice(r.length)}}),era:o({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:o({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:t=>t+1}),month:o({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:o({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:o({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}},l={},c=Symbol.for("constructDateFrom");function h(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&c in t?t[c](e):t instanceof Date?new t.constructor(e):new Date(e)}function d(t,e){return h(e||t,t)}function m(t){let e=d(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),t-n}function f(t,...e){let n=h.bind(null,t||e.find(t=>"object"==typeof t));return e.map(n)}function g(t,e){let n=d(t,e?.in);return n.setHours(0,0,0,0),n}function p(t,e){let n=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??l.weekStartsOn??l.locale?.options?.weekStartsOn??0,a=d(t,e?.in),r=a.getDay();return a.setDate(a.getDate()-(7*(r<n)+r-n)),a.setHours(0,0,0,0),a}function b(t,e){return p(t,{...e,weekStartsOn:1}
1)}function w(t,e){let n=d(t,e?.in),a=n.getFullYear(),r=h(n,0);r.setFullYear(a+1,0,4),r.setHours(0,0,0,0);let i=b(r),s=h(n,0);s.setFullYear(a,0,4),s.setHours(0,0,0,0);let o=b(s);return n.getTime()>=i.getTime()?a+1:n.getTime()>=o.getTime()?a:a-1}function v(t,e){let n=d(t,e?.in),a=n.getFullYear(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,i=h(e?.in||t,0);i.setFullYear(a+1,0,r),i.setHours(0,0,0,0);let s=p(i,e),o=h(e?.in||t,0);o.setFullYear(a,0,r),o.setHours(0,0,0,0);let u=p(o,e);return+n>=+s?a+1:+n>=+u?a:a-1}function y(t,e){let n=Math.abs(t).toString().padStart(e,"0");return(t<0?"-":"")+n}let x={y(t,e){let n=t.getFullYear(),a=n>0?n:1-n;return y("yy"===e?a%100:a,e.length)},M(t,e){let n=t.getMonth();return"M"===e?String(n+1):y(n+1,2)},d:(t,e)=>y(t.getDate(),e.length),a(t,e){let n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(t,e)=>y(t.getHours()%12||12,e.length),H:(t,e)=>y(t.getHours(),e.length),m:(t,e)=>y(t.getMinutes(),e.length),s:(t,e)=>y(t.getSeconds(),e.length),S(t,e){let n=e.length;return y(Math.trunc(t.getMilliseconds()*Math.pow(10,n-3)),e.length)}},M={G:function(t,e,n){let a=+(t.getFullYear()>0);switch(e){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(t,e,n){if("yo"===e){let e=t.getFullYear();return n.ordinalNumber(e>0?e:1-e,{unit:"year"})}return x.y(t,e)},Y:function(t,e,n,a){let r=v(t,a),i=r>0?r:1-r;return"YY"===e?y(i%100,2):"Yo"===e?n.ordinalNumber(i,{unit:"year"}):y(i,e.length)},R:function(t,e){return y(w(t),e.length)},u:function(t,e){return y(t.getFullYear(),e.length)},Q:function(t,e,n){let a=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(a);case"QQ":return y(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,e,n){let a=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(a);case"qq":return y(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,e,n){let a=t.getMonth();switch(e){case"M":case"MM":return x.M(t,e);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,e,n){let a=t.getMonth();switch(e){case"L":return String(a+1);case"LL":return y(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(t,e,n,a){let r,i,s,o,u=Math.round((p(r=d(t,a?.in),a)-(i=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,s=v(r,a),(o=h(a?.in||r,0)).setFullYear(s,0,i),o.setHours(0,0,0,0),p(o,a)))/6048e5)+1;return"wo"===e?n.ordinalNumber(u,{unit:"week"}):y(u,e.length)},I:function(t,e,n){let a,r,i,s=Math.round((b(a=d(t,void 0))-(r=w(a,void 0),(i=h(a,0)).setFullYear(r,0,4),i.setHours(0,0,0,0),b(i)))/6048e5)+1;return"Io"===e?n.ordinalNumber(s,{unit:"week"}):y(s,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getDate(),{unit:"date"}):x.d(t,e)},D:function(t,e,n){let a,r,i=function(t,e){let[n,a]=f(void 0,t,e),r=g(n),i=g(a);return Math.round((r-m(r)-(i-m(i)))/864e5)}(r=d(t,void 0),((a=d(r,void 0)).setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a))+1;return"Do"===e?n.ordinalNumber(i,{unit:"dayOfYear"}):y(i,e.length)},E:function(t,e,n){let a=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(t,e,n,a){let r=t.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return y(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,n,a){let r=t.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return y(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,n){let a=t.getDay(),r=0===a?7:a;switch(e){case"i":return String(r);case"ii":return y(r,e.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(t,e,n){let a=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,e,n){let a,r=t.getHours();switch(a=12===r?"noon":0===r?"midnight":r/12>
1=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,e,n){let a,r=t.getHours();switch(a=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",e){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),n.ordinalNumber(e,{unit:"hour"})}return x.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getHours(),{unit:"hour"}):x.H(t,e)},K:function(t,e,n){let a=t.getHours()%12;return"Ko"===e?n.ordinalNumber(a,{unit:"hour"}):y(a,e.length)},k:function(t,e,n){let a=t.getHours();return(0===a&&(a=24),"ko"===e)?n.ordinalNumber(a,{unit:"hour"}):y(a,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):x.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getSeconds(),{unit:"second"}):x.s(t,e)},S:function(t,e){return x.S(t,e)},X:function(t,e,n){let a=t.getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return k(a);case"XXXX":case"XX":return S(a);default:return S(a,":")}},x:function(t,e,n){let a=t.getTimezoneOffset();switch(e){case"x":return k(a);case"xxxx":case"xx":return S(a);default:return S(a,":")}},O:function(t,e,n){let a=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+P(a,":");default:return"GMT"+S(a,":")}},z:function(t,e,n){let a=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+P(a,":");default:return"GMT"+S(a,":")}},t:function(t,e,n){return y(Math.trunc(t/1e3),e.length)},T:function(t,e,n){return y(+t,e.length)}};function P(t,e=""){let n=t>0?"-":"+",a=Math.abs(t),r=Math.trunc(a/60),i=a%60;return 0===i?n+String(r):n+String(r)+e+y(i,2)}function k(t,e){return t%60==0?(t>0?"-":"+")+y(Math.abs(t)/60,2):S(t,e)}function S(t,e=""){let n=Math.abs(t);return(t>0?"-":"+")+y(Math.trunc(n/60),2)+e+y(n%60,2)}let j=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},D=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},C={p:D,P:(t,e)=>{let n,a=t.match(/(P+)(p+)?/)||[],r=a[1],i=a[2];if(!i)return j(t,e);switch(r){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",j(r,e)).replace("{{time}}",D(i,e))}},N=/^D+$/,O=/^Y+$/,F=["D","DD","YY","YYYY"],T=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,A=/^'([^]*?)'?$/,B=/''/g,E=/[a-zA-Z]/;function I(t,e){let n=d(t)-d(e);return n<0?-1:n>0?1:n}t.s(["addMonthsToCurrentDate",0,t=>{let e=new Date;return e.setMonth(e.getMonth()+t),e},"dateDiff",0,(t,e)=>{let n=(new Date(t).getTime()-new Date(e).getTime())/864e5;return n>=1&&Math.round(n)},"dateDistance",0,t=>t?function(t,e){var n;let a,r=(void 0)??l.locale??u,i=I(t,e);if(isNaN(i))throw RangeError("Invalid time value");let s=Object.assign({},void 0,{addSuffix:void 0,comparison:i}),[o,c]=f(void 0,...i>0?[e,t]:[t,e]),h=(n=void 0,t=>{let e=(n?Math[n]:Math.trunc)(t);return 0===e?0:e})((d(c)-d(o))/1e3),g=Math.round((h-(m(c)-m(o))/1e3)/60);if(g<2)if(1)if(0===g)return r.formatDistance("lessThanXMinutes",1,s);else return r.formatDistance("xMinutes",g,s);else if(h<5)return r.formatDistance("lessThanXSeconds",5,s);else if(h<10)return r.formatDistance("lessThanXSeconds",10,s);else if(h<20)return r.formatDistance("lessThanXSeconds",20,s);else if(h<40)return r.formatDistance("halfAMinute",0,s);else if(h<60)return r.formatDistance("lessThanXMinutes",1,s);else return r.formatDistance("xMinutes",1,s);if(g<45)return r.formatDistance("xMinutes",g,s);if(g<90)return r.formatDistance("aboutXHours",1,s);if(g<1440){let t=Math.round(g/60);return r.formatDistance("aboutXHours",t,s)}if(g<2520)return r.formatDistance("xDays",1,s);else if(g<43200){let t=Math.round(g/1440);return r.formatDistance("xDays",t,s)}else if(g<86400)return a=Math.round(g/43200),r.formatDistance("aboutXMonths",a,s);if((a=function(t,e){var n,a;let r,i,s,o,[u,l,c]=f(void 0,t,t,e),h=I(l,c),m=Math.abs(function(t,e){let[n,a]=f(void 0,t,e);return 12*(n.getFullYear()-a.getFullYear())+(n.getMonth()-a.getMonth())}(l,c));if(m<1)return 0;1===l.getMonth()&&l.getDate()>27&&l.setDate(30),l.setMonth(l.getMonth()-h*m);let g=I(l,c)===-h;+(r=d(u,void 0),n=void 0,(i=d(r,n?.in)).setHours(23,59,59,999),i)==+(a=void 0,o=(s=d(r,a?.in)).getMonth(),s.setFullYear(s.getFullYear(),o+1,0),s.setHours(23,59,59,999),s)&&1===m&&1===I(u,c)&&(g=!1);let p=h*(m-g);return 0===p?0:p}(c,o))<12){let t=Math.round(g/43200);return r.formatDistance("xMonths",t,s)}{let t=a%12,e=Math.trunc(a/12);return t<3?r.formatDistance("aboutXYears",e,s):t<9?r.formatDistance("overXYears",e,s):r.formatDistance("almostXYears",e+1,s)}}(new Date,new Date(t)):"","dateFormat",0,(t,e="dd MMM, yyyy")=>t?function(t,e){let n=(void 0)??l.locale??u,a=(void 0)??void 0??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,r=(void 0)??void 0??l.weekStartsOn??l.locale?.options?.weekStartsOn??0,i=d(t,void 0);if(!(i instanceof Date||"object"==typeof i&&"[object Date]"===Object.prototype.toString.call(i))&&"number"!=typeof i||isNaN(+d(i)))throw RangeError("Invalid time value");let s=e.match(W).map(t=>{let e=t[0];
1return"p"===e||"P"===e?(0,C[e])(t,n.formatLong):t}).join("").match(T).map(t=>{if("''"===t)return{isToken:!1,value:"'"};let e=t[0];if("'"===e){var n;let e;return{isToken:!1,value:(e=(n=t).match(A))?e[1].replace(B,"'"):n}}if(M[e])return{isToken:!0,value:t};if(e.match(E))throw RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}});n.localize.preprocessor&&(s=n.localize.preprocessor(i,s));let o={firstWeekContainsDate:a,weekStartsOn:r,locale:n};return s.map(a=>{if(!a.isToken)return a.value;let r=a.value;return(O.test(r)||N.test(r))&&function(t,e,n){var a,r,i;let s,o=(a=t,r=e,i=n,s="Y"===a[0]?"years":"days of the month",`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${r}\`) for formatting ${s} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(o),F.includes(t))throw RangeError(o)}(r,e,String(t)),(0,M[r[0]])(i,r,n.localize,o)}).join("")}(new Date(t),e):""],586414)},513671,t=>{"use strict";var e=t.i(926538),n=t.i(502363),a=t.i(600418);t.s(["default",0,({className:t})=>{let{payment_logo:r}=n.default;return(0,e.jsxs)("div",{className:`${t} text-center rounded-lg`,children:[(0,e.jsxs)("p",{className:"mb-1 block align-middle",children:[(0,e.jsx)(a.default,{src:"/images/icons/secure.svg",width:20,height:20,alt:"secure",className:"inline-block mr-2 align-text-bottom"}),"100% Safe and Secure Payments Powered by -"," ",(0,e.jsx)(a.default,{src:"/images/icons/paddle.svg",width:60,height:20,alt:"ssl",className:"inline-block align-text-bottom"})]}),(0,e.jsx)("small",{className:"inline-block text-gray-500 mb-3",children:"A VAT receipt will be provided via email after making purchase."}),(0,e.jsx)("div",{className:"flex justify-center flex-wrap",children:r.map(t=>(0,e.jsx)("span",{className:"max-h-7.5 max-w-11.25 m-1.5 border border-border rounded-sm",children:(0,e.jsx)(a.default,{alt:t.name,src:t.src,width:60,height:40,className:"h-auto w-full"})},t.name))})]})}])},833155,(t,e,n)=>{e.exports={bootstrap_bundle:{title:"Bootstrap Bundle",slug:"bootstrap-bundle",image:"https://themefisher.com/images/bundles/bootstrap-bundle.png",type:"bootstrap",categories:["bundle"],release_date:"2016-11-01",packages:[{title:"Bootstrap Bundle Starter",subtitle:"12 Months access. 1 Project / theme",package:"starter",price_before:"150",price:"97",support:"3-months"},{title:"Bootstrap Bundle Plus",subtitle:"Lifetime Access. 10 Projects / theme",package:"plus",price_before:"197",price:"127",support:"6-months"},{title:"Bootstrap Bundle Elite",subtitle:"Lifetime Access. Unlimited Projects",package:"elite",price_before:"297",price:"177",support:"6-months"}]},hugo_bundle:{title:"Hugo Bundle",slug:"hugo-bundle",image:"https://themefisher.com/images/bundles/hugo-bundle.png",type:"hugo",categories:["bundle"],release_date:"2022-01-01",packages:[{title:"Hugo Bundle Starter",subtitle:"12 Months access. 1 Project / theme",package:"starter",price_before:"197",price:"137",support:"3-months"},{title:"Hugo Bundle Plus",subtitle:"Lifetime Access. 10 Projects / theme",package:"plus",price_before:"297",price:"197",support:"6-months"},{title:"Hugo Bundle Elite",subtitle:"Lifetime Access. Unlimited Projects",package:"elite",price_before:"497",price:"297",support:"6-months"}]},astro_bundle:{title:"Astro Bundle",slug:"astro-bundle",image:"https://themefisher.com/images/bundles/astro-bundle.png",type:"astro",categories:["bundle"],release_date:"2023-08-01",packages:[{title:"Astro Bundle Starter",subtitle:"12 months access. 1 Project / theme",package:"starter",price_before:"197",price:"137",support:"3-months"},{title:"Astro Bundle Plus",subtitle:"Lifetime Access. 10 Projects / theme",package:"plus",price_before:"297",price:"197",support:"6-months"},{title:"Astro Bundle Elite",subtitle:"Lifetime Access. Unlimited Projects",package:"elite",price_before:"497",price:"297",support:"6-months"}]},nextjs_bundle:{title:"Nextjs Bundle",slug:"nextjs-bundle",image:"https://themefisher.com/images/bundles/nextjs-bundle.png",type:"nextjs",categories:["bundle"],release_date:"2023-08-01",packages:[{title:"Nextjs Bundle Starter",subtitle:"12 months access. 1 Project / theme",package:"starter",price_before:"197",price:"137",support:"3-months"},{title:"Nextjs Bundle Plus",subtitle:"Lifetime Access. 10 Projects / theme",package:"plus",price_before:"297",price:"197",support:"
16-months"},{title:"Nextjs Bundle Elite",subtitle:"Lifetime Access. Unlimited Projects",package:"elite",price_before:"497",price:"297",support:"6-months"}]},tailwind_bundle:{title:"Tailwind Bundle",slug:"tailwind-bundle",image:"https://themefisher.com/images/bundles/tailwind-bundle.png",type:"tailwind",categories:["bundle"],release_date:"2024-01-01",packages:[{title:"Tailwind Bundle Starter",subtitle:"12 months access. 1 Project / theme",package:"starter",price_before:"150",price:"97",support:"3-months"},{title:"Tailwind Bundle Plus",subtitle:"Lifetime Access. 10 Projects / theme",package:"plus",price_before:"197",price:"127",support:"6-months"},{title:"Tailwind Bundle Elite",subtitle:"Lifetime Access. Unlimited Projects",package:"elite",price_before:"297",price:"177",support:"6-months"}]},themefisher_bundle:{title:"All Access Pass",slug:"themefisher-bundle",image:"https://themefisher.com/images/bundles/themefisher-bundle.png",type:"all",categories:["bundle"],release_date:"2024-04-01",packages:[{title:"All Access Pass Starter",subtitle:"12 months access. 1 Project / theme",package:"starter",price_before:"597",price:"397",support:"3-months"},{title:"All Access Pass Plus",subtitle:"Lifetime access. 10 Projects / theme",package:"plus",price_before:"697",price:"447",support:"6-months"},{title:"All Access Pass Elite",subtitle:"Lifetime access. Unlimited Projects",package:"elite",price_before:"997",price:"597",support:"6-months"}]},service:{title:"Service",slug:"service",image:"https://themefisher.com/images/bundles/customization-service.png",type:"service",categories:["service"],release_date:"2024-04-01",packages:[{title:"Basic Customization",subtitle:"Let us help you customize theme to fit your business",package:"basic",price_before:"397",price:"297",support:"3-months"},{title:"Advanced Customization",subtitle:"Let us help you customize theme to fit your business",package:"advanced",price_before:"597",price:"497",support:"3-months"},{title:"Headless CMS Setup",subtitle:"Set up a headless CMS so you can manage your content with ease.",package:"cms-setup",price_before:"347",price:"197",support:"3-months"},{title:"Website Maintenance",subtitle:"Keep your website updated, secure, and running smoothly.",package:"maintenance",price_before:"297",price:"197",support:"12-months"}]},support:{title:"Premium Support",slug:"support",image:"https://themefisher.com/images/bundles/premium-support.png",type:"service",categories:["service"],release_date:"2025-07-01",packages:[{title:"Extended Support",subtitle:"Get Extended Support For 12 Months",package:"12-months",price_before:"27",price:"17"}]}}},344952,t=>{"use strict";let e=t.i(833155).default;t.s(["bundles",0,e])},483616,t=>{"use strict";var e=t.i(926538),n=t.i(791097);let a=Number("15446");t.s(["default",0,function(){return(0,e.jsx)(n.default,{src:"https://cdn.paddle.com/paddle/paddle.js",onLoad:()=>{Paddle.Setup({vendor:a});let t=new URLSearchParams(window.location.search).get("aff")||function(t){for(let e of document.cookie.split(";").map(t=>t.trim())){let[n,a]=e.split("=");if(t===n)return decodeURIComponent(a)}return null}("partnero_partner");if(t){let e=Paddle.Checkout.open;Paddle.Checkout.open=function(n){n.passthrough=n.passthrough||{},n.passthrough.customer_key=t,e.call(Paddle.Checkout,n)}}}})}])},170710,t=>{"use strict";let e=RegExp("^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d).+$");t.s(["validatePassword",0,t=>t.length>=8&&e.test(t)])},509116,546288,t=>{"use strict";var e=t.i(926538);let n=()=>(0,e.jsxs)("div",{className:"relative mb-3.5 py-3.5",children:[(0,e.jsx)("span",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 font-medium leading-none text-text-light bg-white px-2",children:"Or"}),(0,e.jsx)("div",{"data-orientation":"horizontal",role:"none",className:"shrink-0 h-px w-full bg-gray-100"})]});t.s(["default",0,n],546288);var a=t.i(243448),r=t.i(917710),i=t.i(600418),s=t.i(664433),o=t.i(369578);t.s(["default",0,({setAuthComplete:t})=>{let[u,l]=(0,o.useState)(!1),[c,h]=(0,o.useState)(""),[d,m]=(0,o.useState)({email:"",password:""}),f=(0,s.useRouter)(),g=(0,s.usePathname)(),p="/checkout"===g||g.startsWith("/checkout/"),b=async e=>{e.preventDefault(),l(!0);let n=await (0,r.signIn)("credentials",{email:d.email,password:d.password,redirect:!1});n&&200===n.status?(f.replace(p?"/checkout":"/dashboard/downloads"),m({...d,email:"",password:""}),p&&t&&t(!0)):h("Incorrect email or password"),l(!1)};return(0,e.jsxs)(e.Fragment,{children:[!p&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("p",{className:"mb-4 text-center text-text-light",children:"Login is for existing users only. An account will be created automatically when you make a purchase."}),(0,e.jsxs)("button",{onClick:()=>(0,r.signIn)("google",{callbackUrl:"/login?action=login"}),type:"button",className:"btn btn-sm btn-outline-primary w-full mb-4 flex justify-center items-center space-x-2",children:[(0,e.jsx)(i.default,{src:"/images/icons/google.svg",alt:"google",width:30,height:30}),(0,e.jsx)("span",{children:"Login with google"})]})]}),(0,e.jsxs)("form",{className:"row",id:"service-form",method:"POST",onSubmit:b,children:[(0,e.jsx)(n,{}),(0,e.jsxs)("div",{className:"col-12 mb-4",children:[(0,e.jsxs)("label",{htmlFor:"email",className:"form-label",children:["Email",(0,e.jsx)("span",{className:"lh-1 text-red-600",children:"*"})]}),(0,e.jsx)("input",{type:"email",className:"form-input",id:"email",name:"email",placeholder:"[email protected]",onChange:t=>{m({...d,email:t.target.value.toLowerCase()})},required:!0})]}),(0,e.jsxs)("div",{className:"col-12",children:[(0,e.jsxs)("label",{htmlFor:"password",className:"form-label",children:["Password",(0,e.jsx)("span",{className:"lh-1 text-red-600",children:"*"})]}),(0,e.jsx)("input",{type:"password",className:"form-input",id:"password",name:"password",placeholder:"Password",onChange:t=>{m({...d,password:t.target.value})},required:!0})]}),(0,e.jsx)("div",{className:"col-12 mt-2 text-end",children:(0,e.jsx)("span",{onClick:()=>{f.push("/login?emailVerify=true")},className:"text-text-light underline cursor-pointer hover:text-primary",children:"Lost Password?"})}),(0,e.jsx)("div",{className:"col-12 mt-5",children:(0,e.jsx)("button",{className:`btn btn-primary block w-full ${p&&"bg-[#27C762] hover:bg-[#27C762]"}`,type:"submit",children:u?(0,e.jsxs)(e.Fragment,{children:["Please Wait",(0,e.jsx)(a.default,{})]}):(0,e.jsx)(e.Fragment,{children:p?(0,e.jsxs)(e.Fragment,{children:["Login And Checkout"," ",(0,e.jsx)("svg",{width:"13",height:"10",viewBox:"0 0 13 10",fill:"none",children:(0,e.jsx)("path",{d:"M1.5 5H11.5M11.5 5L7.33333 1M11.5 5L7.33333 9",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}):"Log In"})})}),(0,e.jsx)("div",{className:"col-12 mt-5",children:c&&(0,e.jsx)("p",{className:"message message-error",children:c})})]})]})}],509116)},150497,(t,e,n)=>{"use strict";var a={linear:function(t,e,n,a){return(n-e)*t/a+e},easeInQuad:function(t,e,n,a){return(n-e)*(t/=a)*t+e},easeOutQuad:function(t,e,n,a){return-(n-e)*(t/=a)*(t-2)+e},easeInOutQuad:function(t,e,n,a){var r=n-e;return(t/=a/2)<1?r/2*t*t+e:-r/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,n,a){return(n-e)*(t/=a)*t*t+e},easeOutCubic:function(t,e,n,a){return(n-e)*((t=t/a-1)*t*t+1)+e},easeInOutCubic:function(t,e,n,a){var r=n-e;return(t/=a/2)<1?r/2*t*t*t+e:r/2*((t-=2)*t*t+2)+e},easeInQuart:function(t,e,n,a){return(n-e)*(t/=a)*t*t*t+e},easeOutQuart:function(t,e,n,a){return-(n-e)*((t=t/a-1)*t*t*t-1)+e},easeInOutQuart:function(t,e,n,a){var r=n-e;return(t/=a/2)<1?r/2*t*t*t*t+e:-r/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(t,e,n,a){return(n-e)*(t/=a)*t*t*t*t+e},easeOutQuint:function(t,e,n,a){return(n-e)*((t=t/a-1)*t*t*t*t+1)+e},easeInOutQuint:function(t,e,n,a){var r=n-e;return(t/=a/2)<1?r/2*t*t*t*t*t+e:r/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(t,e,n,a){var r=n-e;return-r*Math.cos(t/a*(Math.PI/2))+r+e},easeOutSine:function(t,e,n,a){return(n-e)*Math.sin(t/a*(Math.PI/2))+e},easeInOutSine:function(t,e,n,a){return-(n-e)/2*(Math.cos(Math.PI*t/a)-1)+e},easeInExpo:function(t,e,n,a){return 0==t?e:(n-e)*Math.pow(2,10*(t/a-1))+e},easeOutExpo:function(t,e,n,a){var r=n-e;return t==a?e+r:r*(-Math.pow(2,-10*t/a)+1)+e},easeInOutExpo:function(t,e,n,a){var r=n-e;return 0===t?e:t===a?e+r:(t/=a/2)<1?r/2*Math.pow(2,10*(t-1))+e:r/2*(-Math.pow(2,-10*--t)+2)+e},easeInCirc:function(t,e,n,a){return-(n-e)*(Math.sqrt(1-(t/=a)*t)-1)+e},easeOutCirc:function(t,e,n,a){return(n-e)*Math.sqrt(1-(t=t/a-1)*t)+e},easeInOutCirc:function(t,e,n,a){var r=n-e;return(t/=a/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+e:r/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(t,e,n,a){var r,i,s,o=n-e;return(s=1.70158,i=0,r=o,0===t)?e:1==(t/=a)?e+o:(i||(i=.3*a),r<Math.abs(o)?(r=o,s=i/4):s=i/(2*Math.PI)*Math.asin(o/r),-(r*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t*a-s)/i))+e)},easeOutElastic:function(t,e,n,a){var r,i,s,o=n-e;return(s=1.70158,i=0,r=o,0===t)?e:1==(t/=a)?e+o:(i||(i=.3*a),r<Math.abs(o)?(r=o,s=i/4):s=i/(2*Math.PI)*Math.asin(o/r),r*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t*a-s)/i)+o+e)},easeInOutElastic:function(t,e,n,a){var r,i,s,o=n-e;return(s=1.70158,i=0,r=o,0===t)?e:2==(t/=a/2)?e+o:(i||(i=.3*1.5*a),r<Math.abs(o)?(r=o,s=i/4):s=i/(2*Math.PI)*Math.asin(o/r),t<1)?-.5*(r*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t*a-s)/i))+e:r*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t*a-s)/i)*.5+o+e},easeInBack:function(t,e,n,a,r){return void 0===r&&(r=1.70158),(n-e)*(t/=a)*t*((r+1)*t-r)+e},easeOutBack:function(t,e,n,a,r){return void 0===r&&(r=1.70158),(n-e)*((t=t/a-1)*t*((r+1)*t+r)+1)+e},easeInOutBack:function(t,e,n,a,r){var i=n-e;return(void 0===r&&(r=1.70158),(t/=a/2)<1)?i/2*(t*t*(((r*=1.525)+1)*t-r))+e:i/2*((t-=2)*t*(((r*=1.525)+1)*t+r)+2)+e},easeInBounce:function(t,e,n,r){var i,s=n-e;return i=a.easeOutBounce(r-t,0,s,r),s-i+e},easeOutBounce:function(t,e,n,a){var r=n-e;return(t/=a)<1/2.75?7.5625*t*t*r+e:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+e:r*(7.5625*(t-=2.625/2.75)*t+.984375)+e},easeInOutBounce:function(t,e,n,r){var i=n-e;return t<r/2?.5*a.easeInBounce(2*t,0,i,r)+e:.5*a.easeOutBounce(2*t-r,0,i,r)+.5*i+e}};e.exports=a},948097,284298,t=>{"use strict";var e,n,a,r,i=t.i(369578);t.s(["useWindowSize",0,()=>{let[t,e]=(0,i.useState)({width:0,height:0}),n=(0,i.useEffectEvent)(()=>{e({width:window.innerWidth,height:window.innerHeight})});return(0,i.useEffect)(()=>
1(n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)),[]),t}],948097);var s=t.i(926538),o=i,u=t.i(150497);function l(t,e){return t+Math.random()*(e-t)}(e=a||(a={}))[e.Circle=0]="Circle",e[e.Square=1]="Square",e[e.Strip=2]="Strip",(n=r||(r={}))[n.Positive=1]="Positive",n[n.Negative=-1]="Negative";let c=1e3/60;class h{constructor(t,e,n,a){this.getOptions=e;const{colors:i,initialVelocityX:s,initialVelocityY:o}=this.getOptions();this.context=t,this.x=n,this.y=a,this.w=l(5,20),this.h=l(5,20),this.radius=l(5,10),this.vx="number"==typeof s?l(-s,s):l(s.min,s.max),this.vy="number"==typeof o?l(-o,0):l(o.min,o.max),this.shape=Math.floor(0+3*Math.random()),this.angle=function(t){return t*Math.PI/180}(l(0,360)),this.angularSpin=l(-.2,.2),this.color=i[Math.floor(Math.random()*i.length)],this.rotateY=l(0,1),this.rotationDirection=l(0,1)?r.Positive:r.Negative}update(t){let{gravity:e,wind:n,friction:i,opacity:s,drawShape:o}=this.getOptions(),u=t/c;this.x+=this.vx*u,this.y+=this.vy*u,this.vy+=e*u,this.vx+=n*u,this.vx*=i**u,this.vy*=i**u,this.rotateY>=1&&this.rotationDirection===r.Positive?this.rotationDirection=r.Negative:this.rotateY<=-1&&this.rotationDirection===r.Negative&&(this.rotationDirection=r.Positive);let l=.1*this.rotationDirection*u;if(this.rotateY+=l,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=s,this.context.lineCap="round",this.context.lineWidth=2,o&&"function"==typeof o)o.call(this,this.context);else switch(this.shape){case a.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case a.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case a.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}class d{constructor(t,e){this.x=0,this.y=0,this.w=0,this.h=0,this.lastNumberOfPieces=0,this.tweenProgress=0,this.tweenFrom=0,this.particles=[],this.particlesGenerated=0,this.removeParticleAt=t=>{this.particles.splice(t,1)},this.getParticle=()=>{let t=l(this.x,this.w+this.x),e=l(this.y,this.h+this.y);return new h(this.context,this.getOptions,t,e)},this.animate=t=>{let{canvas:e,context:n,particlesGenerated:a,lastNumberOfPieces:r}=this,{run:i,recycle:s,numberOfPieces:o,debug:u,tweenFunction:l,tweenDuration:c}=this.getOptions();if(!i)return!1;let h=this.particles.length,d=s?h:a;if(d<o){r!==o&&(this.tweenProgress=0,this.tweenFrom=d,this.lastNumberOfPieces=o),this.tweenProgress=Math.min(c,Math.max(0,this.tweenProgress+t));let e=Math.round(l(this.tweenProgress,this.tweenFrom,o,c)-d);for(let t=0;t<e;t++)this.particles.push(this.getParticle());this.particlesGenerated+=e}u&&(n.font="12px sans-serif",n.fillStyle="#333",n.textAlign="right",n.fillText(`Particles: ${h}`,e.width-10,e.height-20));for(let n=this.particles.length-1;n>=0;n--){let a=this.particles[n];a.update(t),(a.y>e.height||a.y<-100||a.x>e.width+100||a.x<-100)&&(s&&d<=o?this.particles[n]=this.getParticle():this.removeParticleAt(n))}return h>0||d<o},this.canvas=t;const n=this.canvas.getContext("2d");if(!n)throw Error("Could not get canvas context");this.context=n,this.getOptions=e}}let m={width:"u">typeof window?window.innerWidth:300,height:"u">typeof window?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:u.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0};class f{constructor(t,e){this.lastFrameTime=0,this.setOptionsWithDefaults=t=>{let e={confettiSource:{x:0,y:0,w:this.canvas.width,h:0}};this._options={...e,...m,...t},Object.assign(this,t.confettiSource)},this.update=(t=0)=>{let{options:{run:e,onConfettiComplete:n,frameRate:a},canvas:r,context:i}=this,s=Math.min(t-this.lastFrameTime,50);if(a&&s<1e3/a){this.rafId=requestAnimationFrame(this.update);return}this.lastFrameTime=t-(a?s%a:0),e&&(i.fillStyle="white",i.clearRect(0,0,r.width,r.height)),this.generator.animate(s)?this.rafId=requestAnimationFrame(this.update):(n&&"function"==typeof n&&this.generator.particlesGenerated>0&&n.call(this,this),this._options.run=!1)},this.reset=()=>{this.generator&&this.generator.particlesGenerated>0&&(this.generator.particlesGenerated=0,this.generator.particles=[],this.generator.lastNumberOfPieces=0)},this.stop=()=>{this.options={run:!1},this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=void 0)},this.canvas=t;const n=this.canvas.getContext("2d");if(!n)throw Error("Could not get canvas context");this.context=n,this.generator=new d(this.canvas,()=>this.options),this.options=e,this.update()}get options(){return this._options}set options(t){let e=this._options?.run,n=this._options?.recycle;this.setOptionsWithDefaults(t),this.generator&&(Object.assign(this.generator,this.options.confettiSource),"boolean"==typeof t.recycle&&t.recycle&&!1===n&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),"boolean"==typeof t.run&&t.run&&!1===e&&this.update()}}let g=o.default.createRef();class p extends o.default.Component{constructor(t){super(t),this.canvas=o.default.createRef(),this.canvas=t.canvasRef||g}componentDidMount(){if(this.canvas.current){let t=b(this.props)[0];this.confetti=new f(this.canvas.current,t)}}componentDidUpdate(){let t=b(this.props)[0];
1this.confetti&&(this.confetti.options=t)}componentWillUnmount(){this.confetti&&this.confetti.stop(),this.confetti=void 0}render(){let[t,e]=b(this.props),n={zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0,...e.style};return(0,s.jsx)("canvas",{width:t.width,height:t.height,ref:this.canvas,...e,style:n})}}function b(t){let e={},n={},a=[...Object.keys(m),"confettiSource","drawShape","onConfettiComplete","frameRate"],r=["canvasRef"];for(let i in t){let s=t[i];a.includes(i)?e[i]=s:r.includes(i)?r[i]=s:n[i]=s}return[e,n,{}]}p.defaultProps={...m},p.displayName="ReactConfetti";let w=o.default.forwardRef((t,e)=>(0,s.jsx)(p,{canvasRef:e,...t}));t.s(["default",0,w],284298)}]);

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.