1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26164,(e,t,s)=>{t.exports=JSON.parse('{"Personal Development":[{"id":291597,"title":"The Richest Man in Babylon","slug":"the-richest-man-in-babylon","url":"https://deepstash.com/book/291597/the-richest-man-in-babylon","image":"https://static.deepstash.com/editorial/books/291597_the_richest_man_inbabylon-1770303680.jpeg"},{"id":291596,"title":"Unshakeable","slug":"unshakeable","url":"https://deepstash.com/book/291596/unshakeable","image":"https://static.deepstash.com/editorial/books/291596_unshakeable-1770302688.jpeg"},{"id":311355,"title":"Never Eat Alone","slug":"never-eat-alone","url":"https://deepstash.com/book/311355/never-eat-alone","image":"https://static.deepstash.com/editorial/books/311355_never_eat_alone-1770301614.jpeg"},{"id":291578,"title":"Algorithms to Live By","slug":"algorithms-to-live-by","url":"https://deepstash.com/book/291578/algorithms-to-live-by","image":"https://static.deepstash.com/editorial/books/291578_algorithms_to_live_by-1770303404.jpeg"},{"id":317255,"title":"The Influential Mind","slug":"the-influential-mind","url":"https://deepstash.com/book/317255/the-influential-mind","image":"https://static.deepstash.com/book-covers/317255_the_influential_mind.webp"},{"id":291622,"title":"Attached","slug":"attached","url":"https://deepstash.com/book/291622/attached","image":"https://static.deepstash.com/editorial/books/291622_attached-1770300319.jpeg"},{"id":311338,"title":"Range","slug":"range","url":"https://deepstash.com/book/311338/range","image":"https://static.deepstash.com/editorial/books/311338_range-1770303735.jpeg"},{"id":291617,"title":"The Art of Thinking Clearly","slug":"the-art-of-thinking-clearly","url":"https://deepstash.com/book/291617/the-art-of-thinking-clearly","image":"https://static.deepstash.com/editorial/books/291617_the_art_of_thinking_clearly-1770302110.jpeg"},{"id":291591,"title":"The 7 Habits of Highly Effective People","slug":"the-7-habits-of-highly-effective-people","url":"https://deepstash.com/book/291591/the-7-habits-of-highly-effective-people","image":"https://static.deepstash.com/editorial/books/291591_the_7_habits_of_highly_effective_people-1770301393.jpeg"},{"id":291623,"title":"The Psychology of Money","slug":"the-psychology-of-money","url":"https://deepstash.com/book/291623/the-psychology-of-money","image":"https://static.deepstash.com/editorial/books/291623_the_psychology_of_money-1770300259.jpeg"}],"Motivation & Inspiration":[{"id":291588,"title":"Building a StoryBrand","slug":"building-a-storybrand","url":"https://deepstash.com/book/291588/building-a-storybrand","image":"https://static.deepstash.com/editorial/books/291588_building_a_storybrand-1770302715.jpeg"},{"id":311360,"title":"The Lessons of History","slug":"the-lessons-of-history","url":"https://deepstash.com/book/311360/the-lessons-of-history","image":"https://static.deepstash.com/editorial/books/311360_the_lessons_of_history-1770301559.jpeg"},{"id":291593,"title":"Lifespan","slug":"lifespan","url":"https://deepstash.com/book/291593/lifespan","image":"https://static.deepstash.com/book-covers/291593_lifespan.webp"},{"id":311363,"title":"The Righteous Mind","slug":"the-righteous-mind","url":"https://deepstash.com/book/311363/the-righteous-mind","image":"https://static.deepstash.com/editorial/books/311363_the_righteous_mind-1770303873.jpeg"},{"id":317279,"title":"Failing Forward","slug":"failing-forward","url":"https://deepstash.com/book/317279/failing-forward","image":"https://static.deepstash.com/book-covers/317279_failing_forward.webp"},{"id":311365,"title":"Antifragile","slug":"antifragile","url":"https://deepstash.com/book/311365/antifragile","image":"https://static.deepstash.com/editorial/books/311365_antifragile-1770300567.jpeg"},{"id":311345,"title":"Quiet","slug":"quiet","url":"https://deepstash.com/book/311345/quiet","image":"https://static.deepstash.com/editorial/books/311345_quiet-1770301503.jpeg"},{"id":291579,"title":"Man\'s Search for Meaning","slug":"mans-search-for-meaning","url":"https://deepstash.com/book/291579/mans-search-for-meaning","image":"https://static.deepstash.com/editorial/books/291579_mans_search_for_meaning-1770303101.jpeg"},{"id":291595,"title":"Eat That Frog","slug":"eat-that-frog","url":"https://deepstash.com/book/291595/eat-that-frog","image":"https://static.deepstash.com/editorial/books/291595_eat_that_frog-1770302137.jpeg"},{"id":291609,"title":"Meditations","slug":"meditations","url":"https://deepstash.com/book/291609/meditations","image":"https://static.deepstash.com/editorial/books/291609_meditations-1770300051.jpeg"}],"Productivity":[{"id":291620,"title":"Leaders Eat Last","slug":"leaders-eat-last","url":"https://deepstash.com/book/291620/leaders-eat-last","image":"https://static.deepstash.com/editorial/books/291620_leaders_eat_last-1770303129.jpeg"},{"id":311367,"title":"Steal Like an Artist","slug":"steal-like-an-artist","url":"https://deepstash.com/book/311367/steal-like-an-artist","image":"https://static.deepstash.com/editorial/books/311367_steal_like_an_artist-1770300622.jpeg"},{"id":291581,"title":"Awaken The Giant Within","slug":"awaken-the-giant-within","url":"https://deepstash.com/book/291581/awaken-the-giant-within","image":"https://static.deepstash.com/editorial/books/291581_awaken_the_giant_within-1770303955.jpeg"},{"id":311339,"title":"Zero to One","slug":"zero-to-one","url":"https://deepstash.com/book/311339/zero-to-one","image":"https://static.deepstash.com/editorial/books/311339_zero_to_one-1770301035.jpeg"},{"id":291610,"title":"Stolen Focus","slug":"stolen-focus","url":"https://deepstash.com/book/291610/stolen-focus","image":"https://static.deepstash.com/editorial/books/291610_stolen_focus-1770300189.jpeg"}
1,{"id":311334,"title":"Four Thousand Weeks","slug":"four-thousand-weeks","url":"https://deepstash.com/book/311334/four-thousand-weeks","image":"https://static.deepstash.com/editorial/books/311334_four_thousand_weeks-1770300732.jpeg"},{"id":291604,"title":"The 4-Hour Workweek","slug":"the-4-hour-workweek","url":"https://deepstash.com/book/291604/the-4-hour-workweek","image":"https://static.deepstash.com/editorial/books/291604_the_4-hour_workweek-1770302660.jpeg"},{"id":291618,"title":"Deep Work","slug":"deep-work","url":"https://deepstash.com/book/291618/deep-work","image":"https://static.deepstash.com/editorial/books/291618_deep_work-1770300222.jpeg"},{"id":291600,"title":"Ego Is the Enemy","slug":"ego-is-the-enemy","url":"https://deepstash.com/book/291600/ego-is-the-enemy","image":"https://static.deepstash.com/editorial/books/291600_ego_is_the_enemy-1770302027.jpeg"},{"id":311346,"title":"The 48 Laws of Power","slug":"the-48-laws-of-power","url":"https://deepstash.com/book/311346/the-48-laws-of-power","image":"https://static.deepstash.com/editorial/books/311346_the_48_laws_of_power-1770302467.jpeg"}],"Psychology":[{"id":312394,"title":"Alchemy","slug":"alchemy","url":"https://deepstash.com/book/312394/alchemy","image":"https://static.deepstash.com/editorial/books/312394_alchemy-1770302302.jpeg"},{"id":311336,"title":"The Design of Everyday Things","slug":"the-design-of-everyday-things","url":"https://deepstash.com/book/311336/the-design-of-everyday-things","image":"https://static.deepstash.com/book-covers/311336_the_design_of_everyday_things.webp"},{"id":311332,"title":"Wanting","slug":"wanting","url":"https://deepstash.com/book/311332/wanting","image":"https://static.deepstash.com/editorial/books/311332_wanting-1770299996.jpeg"},{"id":311361,"title":"Behave","slug":"behave","url":"https://deepstash.com/book/311361/behave","image":"https://static.deepstash.com/editorial/books/311361_behave-1770302440.jpeg"},{"id":312396,"title":"Skin in the Game","slug":"skin-in-the-game","url":"https://deepstash.com/book/312396/skin-in-the-game","image":"https://static.deepstash.com/editorial/books/312396_skin_in_the_game-1770300897.jpeg"},{"id":291611,"title":"Never Split the Difference","slug":"never-split-the-difference","url":"https://deepstash.com/book/291611/never-split-the-difference","image":"https://static.deepstash.com/editorial/books/291611_never_split_the_difference-1770302330.jpeg"},{"id":291627,"title":"Mindset","slug":"mindset","url":"https://deepstash.com/book/291627/mindset","image":"https://static.deepstash.com/editorial/books/291627_mindset-1770301972.jpeg"},{"id":291590,"title":"The 10X Rule","slug":"the-10x-rule","url":"https://deepstash.com/book/291590/the-10x-rule","image":"https://static.deepstash.com/editorial/books/291590_the_10x_rule-1770303322.jpeg"},{"id":291626,"title":"Thinking, Fast and Slow","slug":"thinking-fast-and-slow","url":"https://deepstash.com/book/291626/thinking-fast-and-slow","image":"https://static.deepstash.com/editorial/books/291626_thinking_fast_and_slow-1770302770.jpeg"},{"id":291592,"title":"Atomic Habits","slug":"atomic-habits","url":"https://deepstash.com/book/291592/atomic-habits","image":"https://static.deepstash.com/editorial/books/291592_atomic_habits-1770300539.jpeg"}],"Education":[{"id":291608,"title":"A Brief History of Time","slug":"a-brief-history-of-time","url":"https://deepstash.com/book/291608/a-brief-history-of-time","image":"https://static.deepstash.com/editorial/books/291608_a_brief_history_of_time-1770300024.jpeg"},{"id":291583,"title":"Freakonomics","slug":"freakonomics","url":"https://deepstash.com/book/291583/freakonomics","image":"https://static.deepstash.com/editorial/books/291583_freakonomics-1770300952.jpeg"},{"id":291615,"title":"Sapiens","slug":"sapiens","url":"https://deepstash.com/book/291615/sapiens","image":"https://static.deepstash.com/editorial/books/291615_sapiens-1770303432.jpeg"},{"id":311354,"title":"Finite and Infinite Games","slug":"finite-and-infinite-games","url":"https://deepstash.com/book/311354/finite-and-infinite-games","image":"https://static.deepstash.com/editorial/books/311354_finite_and_infinite_games-1770301641.jpeg"},{"id":291605,"title":"Predictably Irrational","slug":"predictably-irrational","url":"https://deepstash.com/book/291605/predictably-irrational","image":"https://static.deepstash.com/editorial/books/291605_predictably_irrational-1770300649.jpeg"},{"id":311330,"title":"Digital Minimalism","slug":"digital-minimalism","url":"https://deepstash.com/book/311330/digital-minimalism","image":"https://static.deepstash.com/editorial/books/311330_digital_minimalism-1770301448.jpeg"},{"id":291614,"title":"Influence","slug":"influence","url":"https://deepstash.com/book/291614/influence","image":"https://static.deepstash.com/editorial/books/291614_influence_robert_b_cialdini-1770302413.jpeg"},{"id":291585,"title":"The Almanack of Naval Ravikant","slug":"the-almanack-of-naval-ravikant","url":"https://deepstash.com/book/291585/the-almanack-of-naval-ravikant","image":"https://static.deepstash.com/editorial/books/291585_the_almanack_of_naval_ravikant-1770302743.jpeg"},{"id":291582,"title":"Make It Stick","slug":"make-it-stick","url":"https://deepstash.com/book/291582/make-it-stick","image":"https://static.deepstash.com/editorial/books/291582_make_it_stick-1770300347.jpeg"},{"id":291621,"title":"Think and Grow Rich","slug":"think-and-grow-rich","url":"https://deepstash.com/book/291621/think-and-grow-rich","image":"https://static.deepstash.com/editorial/books/291621_think_and_grow_rich-1770303900.jpeg"}],"Habits":[{"id":311357,"title":"Essentialism","slug":"essentialism","url":"https://deepstash.com/book/311357/essentialism","image":"https://static.deepstash.com/editorial/books/311357_essentialism-1770302909.jpeg"},{"id":291625,"title":"The Barefoot Investor","slug":"the-barefoot-investor","url":"https://deepstash.com/book/291625/the-barefoot-investor","
1image":"https://static.deepstash.com/editorial/books/291625_the_barefoot_investor-1770302495.jpeg"},{"id":291616,"title":"The Miracle of Mindfulness","slug":"the-miracle-of-mindfulness","url":"https://deepstash.com/book/291616/the-miracle-of-mindfulness","image":"https://static.deepstash.com/editorial/books/291616_the_miracle_ofmindfulness-1770303652.jpeg"},{"id":291603,"title":"You Are a Badass","slug":"you-are-a-badass","url":"https://deepstash.com/book/291603/you-are-a-badass","image":"https://static.deepstash.com/editorial/books/291603_you_are_a_badass-1770301779.jpeg"},{"id":312397,"title":"Flow","slug":"flow","url":"https://deepstash.com/book/312397/flow","image":"https://static.deepstash.com/editorial/books/312397_flow-1770301228.jpeg"},{"id":291587,"title":"The ONE Thing","slug":"the-one-thing","url":"https://deepstash.com/book/291587/the-one-thing","image":"https://static.deepstash.com/editorial/books/291587_the_one_thing-1770301862.jpeg"},{"id":317326,"title":"The Power of Habit","slug":"the-power-of-habit","url":"https://deepstash.com/book/317326/the-power-of-habit","image":"https://static.deepstash.com/book-covers/317326_the_power_of_habit.webp"},{"id":317305,"title":"The Daily Stoic","slug":"the-daily-stoic","url":"https://deepstash.com/book/317305/the-daily-stoic","image":"https://static.deepstash.com/book-covers/317305_the_daily_stoic.webp"},{"id":291598,"title":"The Power of Now","slug":"the-power-of-now","url":"https://deepstash.com/book/291598/the-power-of-now","image":"https://static.deepstash.com/editorial/books/291598_the_power_of_now-1770302798.jpeg"},{"id":291607,"title":"Can\'t Hurt Me","slug":"cant-hurt-me","url":"https://deepstash.com/book/291607/cant-hurt-me","image":"https://static.deepstash.com/editorial/books/291607_cant_hurt_me-1770302000.jpeg"}]}')},9576,e=>{"use strict";var t=e.i(44501),s=e.i(10762),a=e.i(1685),i=e.i(51564);let r={some:0,all:1};var l=e.i(20687),o=e.i(25788),n=e.i(7474),d=e.i(92687),c=e.i(72164),h=e.i(99580),m=e.i(57560);let u={extend:{fontFamily:{sans:["var(--font-lexend)","sans-serif"]},colors:{"Amber-50":"#FFFAE9","Amber-100":"#FFF3D3","Amber-200":"#FFE2A9","Amber-300":"#FEC96B","Amber-400":"#EBAB23","Amber-500":"#CC8C00","Amber-600":"#AA6B00","Amber-700":"#884B00","Amber-800":"#672C00","Amber-900":"#441600","Amber-1000":"#290600","Amber-1100":"#1A0100","Apricot-50":"#FFF7EE","Apricot-100":"#FFEFDD","Apricot-200":"#FFDBBF","Apricot-300":"#FFBE94","Apricot-400":"#FF995B","Apricot-500":"#ED710A","Apricot-600":"#C85000","Apricot-700":"#A12D00","Apricot-800":"#7C0000","Apricot-900":"#530000","Apricot-1000":"#330000","Apricot-1100":"#220000","Aquamarine-50":"#EAFFF8","Aquamarine-100":"#D3FFF0","Aquamarine-200":"#A3FDDE","Aquamarine-300":"#70EDC6","Aquamarine-400":"#08D7A9","Aquamarine-500":"#00B88B","Aquamarine-600":"#00966B","Aquamarine-700":"#00754D","Aquamarine-800":"#005531","Aquamarine-900":"#00361B","Aquamarine-1000":"#001F0B","Aquamarine-1100":"#001204","Avocado-50":"#F4FFE9","Avocado-100":"#E8FFD1","Avocado-200":"#D2F6B0","Avocado-300":"#B7E388","Avocado-400":"#97CB5A","Avocado-500":"#74AE15","Avocado-600":"#558D00","Avocado-700":"#376B00","Avocado-800":"#1B4C00","Avocado-900":"#0A2F00","Avocado-1000":"#011A00","Avocado-1100":"#000E00","Azure-50":"#F0FDFF","Azure-100":"#E2F9FF","Azure-200":"#C7ECFF","Azure-300":"#A1D8FF","Azure-400":"#70BDFF","Azure-500":"#2B9DFF","Azure-600":"#007CE0","Azure-700":"#005AB9","Azure-800":"#003993","Azure-900":"#002065","Azure-1000":"#000D41","Azure-1100":"#00042D","Blue-50":"#F3FCFF","Blue-100":"#E6F7FF","Blue-200":"#CEE9FF","Blue-300":"#ADD4FF","Blue-400":"#85B8FF","Blue-500":"#5697FF","Blue-600":"#2672EE","Blue-700":"#004ECC","Blue-800":"#002DA1","Blue-900":"#00156F","Blue-1000":"#000447","Blue-1100":"#000032","Bronze-50":"#FFF8EC","Bronze-100":"#FFF0DA","Bronze-200":"#FFDDB8","Bronze-300":"#FFC188","Bronze-400":"#FE9D43","Bronze-500":"#E37B00","Bronze-600":"#BF5A00","Bronze-700":"#993900","Bronze-800":"#761600","Bronze-900":"#4F0100","Bronze-1000":"#300000","Bronze-1100":"#200000","Byzantium-50":"#FFF5FF","Byzantium-100":"#FFEBFF","Byzantium-200":"#FFD5F7","Byzantium-300":"#FFB5EA","Byzantium-400":"#F88ED6","Byzantium-500":"#DF67BC","Byzantium-600":"#C23A9F","Byzantium-700":"#A0007F","Byzantium-800":"#78005D","Byzantium-900":"#50003C","Byzantium-1000":"#300023","Byzantium-1100":"#1F0016","Cerulean-50":"#EDFEFF","Cerulean-100":"#DAFCFF","Cerulean-200":"#B8F1FF","Cerulean-300":"#85E0FF","Cerulean-400":"#2CC8FF","Cerulean-500":"#00A9E7","Cerulean-600":"#0088C5","Cerulean-700":"#0066A1","Cerulean-800":"#00467F","Cerulean-900":"#002B57","Cerulean-1000":"#001637","Cerulean-1100":"#000B26","Coral-50":"#FFF6F2","Coral-100":"#FFECE6","Coral-200":"#FFD8CD","Coral-300":"#FFBAAB","Coral-400":"#FF9381","Coral-500":"#F46653","Coral-600":"#D73525","Coral-700":"#B20000","Coral-800":"#880000","Coral-900":"#5B0000","Coral-1000":"#380000","Coral-1100":"#260000","Cyan-50":"#E8FFFF","Cyan-100":"#CEFFFE","Cyan-200":"#97FDF6","Cyan-300":"#57EDE5","Cyan-400":"#00D4CC","Cyan-500":"#00B5AE","Cyan-600":"#00948E","Cyan-700":"#00736E","Cyan-800":"#005350","Cyan-900":"#003533","Cyan-1000":"#001E1D","Cyan-1100":"#001211","Electric-blue-50":"#E8FFFF","Electric-blue-100":"#CFFFFF","Electric-blue-200":"#99FBFF","Electric-blue-300":"#53EBF3","Electric-blue-400":"#00D2DC","Electric-blue-500":"#00B3BD","Electric-blue-600":"#00929D","Electric-blue-700":"#00717C","Electric-blue-800":"#00515D","Electric-blue-900":"#00333D","Electric-blue-1000":"#001D24","Electric-blue-1100":"#001117","Emerald-50":"#ECFFF5","Emerald-100":"#D7FFE9","Emerald-200":"#ADFCD1","Emerald-300":"#81ECB6","Emerald-4
100":"#45D595","Emerald-500":"#00B875","Emerald-600":"#009656","Emerald-700":"#007438","Emerald-800":"#00541B","Emerald-900":"#003609","Emerald-1000":"#001E01","Emerald-1100":"#001200","Flamingo-50":"#FFF5FA","Flamingo-100":"#FFEBF5","Flamingo-200":"#FFD5E6","Flamingo-300":"#FFB6CF","Flamingo-400":"#FF8DB4","Flamingo-500":"#ED6295","Flamingo-600":"#D03075","Flamingo-700":"#AB0056","Flamingo-800":"#82003A","Flamingo-900":"#570022","Flamingo-1000":"#350011","Flamingo-1100":"#230008","Fuchsia-50":"#FFF6FF","Fuchsia-100":"#FFEDFF","Fuchsia-200":"#FFD8FF","Fuchsia-300":"#F5B9FF","Fuchsia-400":"#E395F4","Fuchsia-500":"#C970DD","Fuchsia-600":"#AC46C2","Fuchsia-700":"#8D07A5","Fuchsia-800":"#69007F","Fuchsia-900":"#450055","Fuchsia-1000":"#290034","Fuchsia-1100":"#1A0023","Green-50":"#EEFFF1","Green-100":"#DCFFE2","Green-200":"#B9FBC5","Green-300":"#93EAA6","Green-400":"#65D381","Green-500":"#22B75A","Green-600":"#009638","Green-700":"#007317","Green-800":"#005300","Green-900":"#003500","Green-1000":"#001E00","Green-1100":"#001100","Iris-50":"#F8FAFF","Iris-100":"#F0F4FF","Iris-200":"#DEE4FF","Iris-300":"#C5CCFF","Iris-400":"#A7ADFF","Iris-500":"#8789FF","Iris-600":"#6862EC","Iris-700":"#4D37D1","Iris-800":"#3700B1","Iris-900":"#22007A","Iris-1000":"#12004E","Iris-1100":"#0A0037","Lavender-50":"#FAF9FF","Lavender-100":"#F5F2FF","Lavender-200":"#E6E1FF","Lavender-300":"#D1C8FF","Lavender-400":"#B7A8FF","Lavender-500":"#9A82FF","Lavender-600":"#7D5BE6","Lavender-700":"#612DCB","Lavender-800":"#4700A7","Lavender-900":"#2D0073","Lavender-1000":"#190049","Lavender-1100":"#0F0033","Lime-50":"#F1FFED","Lime-100":"#E1FFDA","Lime-200":"#C5F9BA","Lime-300":"#A5E797","Lime-400":"#7FCF6E","Lime-500":"#55B33E","Lime-600":"#249300","Lime-700":"#007100","Lime-800":"#005100","Lime-900":"#003300","Lime-1000":"#001C00","Lime-1100":"#001000","Mahogany-50":"#FFF7F0","Mahogany-100":"#FFEDE1","Mahogany-200":"#FFD9C6","Mahogany-300":"#FFBCA0","Mahogany-400":"#FF966F","Mahogany-500":"#F26B38","Mahogany-600":"#D14200","Mahogany-700":"#A91B00","Mahogany-800":"#820000","Mahogany-900":"#570000","Mahogany-1000":"#360000","Mahogany-1100":"#240000","Mulberry-50":"#FFF5FD","Mulberry-100":"#FFEBFA","Mulberry-200":"#FFD5EE","Mulberry-300":"#FFB5DC","Mulberry-400":"#FF8CC5","Mulberry-500":"#E764A9","Mulberry-600":"#CA348B","Mulberry-700":"#A6006B","Mulberry-800":"#7E004C","Mulberry-900":"#540030","Mulberry-1000":"#33001A","Mulberry-1100":"#22000F","Mustard-50":"#FFFBE7","Mustard-100":"#FFF5CF","Mustard-200":"#FFE69E","Mustard-300":"#F3CF69","Mustard-400":"#DEB21D","Mustard-500":"#C09300","Mustard-600":"#9F7300","Mustard-700":"#7D5200","Mustard-800":"#5E3400","Mustard-900":"#3D1D00","Mustard-1000":"#240C00","Mustard-1100":"#170400","Neon-50":"#F5FBFF","Neon-100":"#EBF5FF","Neon-200":"#D6E7FF","Neon-300":"#B9D0FF","Neon-400":"#97B3FF","Neon-500":"#7190FF","Neon-600":"#4E6AEF","Neon-700":"#3141D4","Neon-800":"#2000B8","Neon-900":"#12007F","Neon-1000":"#080052","Neon-1100":"#04003A","Orange-50":"#FFF9EB","Orange-100":"#FFF1D6","Orange-200":"#FFE0B1","Orange-300":"#FFC57B","Orange-400":"#F5A431","Orange-500":"#D88400","Orange-600":"#B56300","Orange-700":"#914200","Orange-800":"#6F2200","Orange-900":"#4A0D00","Orange-1000":"#2D0100","Orange-1100":"#1E0000","Orchid-50":"#FFF6FF","Orchid-100":"#FFEBFF","Orchid-200":"#FFD5FF","Orchid-300":"#FFB5F9","Orchid-400":"#EE91E6","Orchid-500":"#D56BCD","Orchid-600":"#B83FB1","Orchid-700":"#970093","Orchid-800":"#71006E","Orchid-900":"#4B0049","Orchid-1000":"#2D002C","Orchid-1100":"#1D001C","Pear-50":"#F8FFE4","Pear-100":"#EFFECA","Pear-200":"#DFF2A7","Pear-300":"#C8DF7C","Pear-400":"#ACC647","Pear-500":"#8DA800","Pear-600":"#6F8700","Pear-700":"#516600","Pear-800":"#354700","Pear-900":"#1F2C00","Pear-1000":"#0F1700","Pear-1100":"#060C00","Pelorus-50":"#EAFFFF","Pelorus-100":"#D4FFFF","Pelorus-200":"#A8F7FF","Pelorus-300":"#59E8FF","Pelorus-400":"#00D0EA","Pelorus-500":"#00B1CC","Pelorus-600":"#0090AB","Pelorus-700":"#006E89","Pelorus-800":"#004E69","Pelorus-900":"#003146","Pelorus-1000":"#001B2B","Pelorus-1100":"#000F1C","Pink-50":"#FFF5F8","Pink-100":"#FFEBEF","Pink-200":"#FFD6DD","Pink-300":"#FFB7C3","Pink-400":"#FF8FA3","Pink-500":"#F26180","P
1ink-600":"#D52F5E","Pink-700":"#AF0040","Pink-800":"#860026","Pink-900":"#590013","Pink-1000":"#370006","Pink-1100":"#250002","Purple-50":"#FFF7FF","Purple-100":"#FFEEFF","Purple-200":"#F7DBFF","Purple-300":"#E8BFFF","Purple-400":"#D59AFF","Purple-500":"#BB75EB","Purple-600":"#9E4CD1","Purple-700":"#8018B4","Purple-800":"#5F008E","Purple-900":"#3E0060","Purple-1000":"#24003C","Purple-1100":"#170029","Red-50":"#FFF6F5","Red-100":"#FFECEA","Red-200":"#FFD7D5","Red-300":"#FFB8B7","Red-400":"#FF9092","Red-500":"#F4636A","Red-600":"#D73045","Red-700":"#B10025","Red-800":"#880008","Red-900":"#5B0000","Red-1000":"#380000","Red-1100":"#260000","Rose-50":"#FFF5F8","Sky-50":"#EBFFFF","Sky-100":"#D7FEFF","Sky-200":"#B0F4FF","Sky-300":"#74E4FF","Sky-400":"#00CCF9","Sky-500":"#00ADDA","Sky-600":"#008CB8","Sky-700":"#006B95","Sky-800":"#004B74","Sky-900":"#002E4F","Sky-1000":"#001931","Sky-1100":"#000D21","Steel-50":"#EEFEFF","Steel-100":"#DEFAFF","Steel-200":"#BFEFFF","Steel-300":"#94DCFF","Steel-400":"#57C2FF","Steel-500":"#00A4F5","Steel-600":"#0082D1","Steel-700":"#0061AC","Steel-800":"#004189","Steel-900":"#00265E","Steel-1000":"#00123C","Steel-1100":"#00082A","Turmeric-50":"#FCFEE1","Turmeric-100":"#F8FBC5","Turmeric-200":"#EBEEA0","Turmeric-300":"#D7DA72","Turmeric-400":"#BEBF34","Turmeric-500":"#A1A100","Turmeric-600":"#828000","Turmeric-700":"#636000","Turmeric-800":"#464100","Turmeric-900":"#2C2700","Turmeric-1000":"#181400","Turmeric-1100":"#0D0A00","Turquoise-50":"#E9FFFC","Turquoise-100":"#D0FFF7","Turquoise-200":"#9BFDEA","Turquoise-300":"#61EDD5","Turquoise-400":"#00D6BB","Turquoise-500":"#00B79D","Turquoise-600":"#00967E","Turquoise-700":"#00745E","Turquoise-800":"#005441","Turquoise-900":"#003628","Turquoise-1000":"#001E15","Turquoise-1100":"#00120B","Violet-50":"#FDF8FF","Violet-100":"#FAF0FF","Violet-200":"#EEDEFF","Violet-300":"#DCC3FF","Violet-400":"#C6A2FF","Violet-500":"#AC7BF6","Violet-600":"#8F53DD","Violet-700":"#7223C1","Violet-800":"#54009B","Violet-900":"#36006A","Violet-1000":"#1F0043","Violet-1100":"#13002F","Yellow-50":"#FFFCE3","Yellow-100":"#FFF8C6","Yellow-200":"#F7EA9C","Yellow-300":"#E6D46C","Yellow-400":"#CFB925","Yellow-500":"#B19A00","Yellow-600":"#917A00","Yellow-700":"#715900","Yellow-800":"#533B00","Yellow-900":"#352200","Yellow-1000":"#1E1000","Yellow-1100":"#120700",brand:{orange:"#F46653",orangeDark:"#B20000",black:"#1A1A1A",paper:"#FAFAF9",cream:"#F2F0E9",text:"#2D2D2D",soft:"#F5F5F5",green:"#00B875",greenDark:"#007438",yellow:"#EBAB23",yellowDark:"#AA6B00",blue:"#2CC8FF",blueDark:"#0088C5",pink:"#ED6295",pinkDark:"#AB0056"}},maxWidth:{content:"2058px"},boxShadow:{soft:"0 10px 40px -10px rgba(0,0,0,0.08)","soft-lg":"0 20px 60px -15px rgba(0,0,0,0.1)"},animation:{shine:"shine 2s linear infinite",float:"float 6s ease-in-out infinite","loop-scroll":"loop-scroll 3s linear infinite","spin-slow":"spin 8s linear infinite"},keyframes:{shine:{"0%":{backgroundPosition:"200% center"},"100%":{backgroundPosition:"-200% center"}},float:{"0%, 100%":{transform:"translateY(0)"},"50%":{transform:"translateY(-20px)"}},"loop-scroll":{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(-50%)"}}}}},p=({title:e,children:i,className:r,itemClassName:l,gap:o=32,stickyBackground:p="bg-[#FAFAF9]",headerActions:x,mobileHeaderActions:g})=>{let b=(0,a.useRef)(null),f=(0,a.useRef)(null),v=(0,a.useRef)(null),w=(0,a.useRef)([]),[F,y]=(0,a.useState)(0),[j,k]=(0,a.useState)("300vh"),[A,N]=(0,a.useState)(0),E=a.default.Children.toArray(i),_=(0,a.useCallback)((e,t)=>{w.current[t]=e},[]);(0,a.useEffect)(()=>{let e=v.current;if(!e)return;let t=new Map,s=new IntersectionObserver(e=>{e.forEach(e=>{let s=w.current.indexOf(e.target);-1!==s&&t.set(s,e.intersectionRatio)});let s=0,a=0;t.forEach((e,t)=>{e>s&&(s=e,a=t)}),s>0&&N(a)},{root:e,threshold:[0,.25,.5,.75,1]});return w.current.forEach(e=>{e&&s.observe(e)}),()=>s.disconnect()},[E.length]),(0,a.useEffect)(()=>{if(!f.current)return;let e=()=>{if(!f.current)return;let e=f.current.scrollWidth,t=window.innerWidth,s=Math.max(0,t-parseInt(u?.extend?.maxWidth?.content)),a=Math.max(0,e-t+s);y(a),k(`${t>=1024?.5*a+window.innerHeight:"auto"}px`)};e();let t=new ResizeObserver(e);return t.observe(f.current),()=>t.disconnect()},[i]);let{scrollYProgress:C}=(0,d.useScroll)({target:b,offset:["start start","end end"]});(0,a.useEffect)(()=>{let e=b.current;if(!e)return;let t=e=>{Math.abs(e.deltaX)>Math.abs(e.deltaY)&&0!==e.deltaX&&(e.preventDefault(),window.scrollBy({top:e.deltaX,behavior:"instant"}))},s=window.matchMedia("(min-width: 1024px)"),a=()=>{s.matches?e.addEventListener("wheel",t,{passive:!1}):e.removeEventListener("wheel",t)};return a(),s.addEventListener("change",a),()=>{e.removeEventListener("wheel",t),s.removeEventListener("change",a)}},[]);let B=(0,c.useSpring)(C,{stiffness:120,damping:25,mass:1}),D=(0,h.useTransform)(B,[0,1],[0,-F]);return(0,t.jsxs)("section",{className:"relative w-full",children:[(0,t.jsxs)("div",{className:(0,m.cn)("lg:hidden py-20 sm:py-24 flex flex-col relative",r),children:[(0,t.jsx)("div",{className:"px-section mb-4",children:(0,t.jsx)("h2",{className:"text-5xl sm:text-6xl font-black text-inherit tracking-tighter leading-[0.85]",children:e})}),(g||x)&&(0,t.jsx)("div",{className:"mb-4",children:g||x}),(0,t.jsx)("div",{ref:v,className:"flex-1 w-full overflow-x-auto snap-x snap-mandatory flex gap-5 px-section pb-16 pt-10 no-scrollbar",children:E.map((e,s)=>(0,t.jsx)("div",{ref:e=>_(e,s),className:(0,m.cn)("snap-center shrink-0 first:ml-0 last:mr-4",l),children:a.default.isValidElement(e)?a.default.cloneElement(e,{isActive:s===A}):e},s))})]}),(0,t.jsx)("div",{ref:b,className:"hidden lg:block relative will-change-transform",style:{height:j},children:(0,t.jsx)("div",{className:(0,m.cn)("sticky top-0 h-screen flex flex-col justify-center overflow-hidden",p),children:(0,t.jsxs)("div",{className:(0,m.cn)("w-full h-auto flex flex-col",r),children:[(0,t.jsx)("div",{className:"px-section mb-16",children:(0,t.jsxs)("div",{className:"flex items-end justify-between",children:[(0,t.jsx)("h2",{className:(0,m.cn)(s.SECTION_TIT
1LE_FONT_SIZE,"font-black text-inherit tracking-tighter leading-[0.85]"),children:e}),x&&(0,t.jsx)("div",{children:x})]})}),(0,t.jsx)("div",{className:"relative w-full",children:(0,t.jsx)(n.motion.div,{style:{x:D,gap:o},className:"flex px-section w-max items-center will-change-transform",ref:f,children:E.map((e,s)=>(0,t.jsx)("div",{className:l,children:e},s))})})]})})})]})};var x=e.i(19816),g=e.i(40229),b=e.i(83469),f=e.i(61313),v=e.i(71009),w=e.i(59236),F=e.i(6324),y=e.i(82073);let j={bg:"bg-transparent",text:"text-[#1A1A1A]",textSecondary:"text-gray-600",accent:"text-brand-orange",buttonPrimary:"bg-brand-orange",buttonSecondary:"bg-transparent"},k="Replace doomscrolling with microlearning",A="Learn from thousands of top nonfiction books in minutes a day.",N="Get Started",E="Build a Growth Plan",_=y.Brain,C={ATOMIC_HABITS:F.HERO_IMAGES[0],PRINCIPLES:F.HERO_IMAGES[1],SAPIENS:F.HERO_IMAGES[2],THINKING_FAST:F.HERO_IMAGES[3],DEEP_WORK:F.HERO_IMAGES[4]},B=[{id:1,image:"https://static.deepstash.com/site/notification_mascot.webp",title:"Welcome to the 1%",desc:"Stop scrolling, start growing. Open your feed.",time:"now"},{id:2,image:"https://static.deepstash.com/site/notification_mascot_love.webp",title:"Looking for that âahaâ moment?",desc:"Lucky you, with Deepstash you can find it.",time:"2m ago"},{id:3,image:"https://static.deepstash.com/site/notification_mascot_shush.webp",title:"The Unfair Advantage",desc:"Be the smartest in the room. Grab it.",time:"1h ago"}],D=({src:e,className:s,depth:a=1,scrollYProgress:i,mouseX:r,mouseY:l,initialRotate:o=0,blur:d="blur-sm"})=>{let c=(0,h.useTransform)(i,[0,1],[0,-300*a]),u=(0,h.useTransform)(i,[0,1],[o,o+5]),p=(0,h.useTransform)(r,[0,1],[20*a,-20*a]),x=(0,h.useTransform)(l,[0,1],[20*a,-20*a]);return(0,t.jsx)(n.motion.div,{style:{y:c,rotate:u,x:p,translateY:x},className:(0,m.cn)("absolute rounded-2xl shadow-soft-lg overflow-hidden select-none pointer-events-none will-change-transform bg-white/95",d,s),variants:f.floatingBookVariants,initial:"hidden",animate:"visible",transition:{duration:1.5,ease:f.easeOutCubic,delay:.1},children:(0,t.jsxs)("div",{className:"relative w-full h-full transform-gpu",children:[(0,t.jsx)("img",{src:e,alt:"",className:"w-full h-full object-cover opacity-90",loading:"eager"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-white/10 mix-blend-overlay"})]})})};var T=e.i(96324);let S=({activeNoteIndex:e,isHovering:s,setIsHovering:a,notifications:i=B})=>(0,t.jsx)("div",{className:"relative w-full max-w-[90vw] md:max-w-[500px] h-[70px] perspective-[1000px]",onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:(0,t.jsx)(T.AnimatePresence,{mode:"popLayout",children:i.map((s,a)=>{let r=(a-e+i.length)%i.length,l=0===r;return l||1===r?(0,t.jsx)(n.motion.div,{variants:f.notificationCardVariants,initial:"initial",animate:{y:12*!l,rotate:l?0:-2,scale:l?1:.96,zIndex:l?30:20,opacity:l?1:.6},exit:"exit",transition:f.springTransition,className:"absolute top-0 left-0 right-0 cursor-pointer origin-center will-change-transform",children:(0,t.jsxs)("div",{className:"relative bg-white/95 backdrop-blur-md border-[3px] border-black/5 rounded-[1.5rem] p-2 pr-5 flex items-center gap-3 shadow-soft-lg hover:scale-[1.02] transition-transform",children:[s.image?(0,t.jsx)("img",{src:s.image,alt:s.title,className:"w-10 h-10 rounded-full object-cover shadow-inner"}):(0,t.jsx)("div",{className:(0,m.cn)("w-10 h-10 rounded-full flex items-center justify-center shadow-inner",s.iconBg),children:s.icon}),(0,t.jsxs)("div",{className:"flex-1 text-left min-w-0 flex items-center justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-black font-extrabold text-sm leading-none",children:s.title}),(0,t.jsx)("p",{className:"text-gray-500 text-xs font-semibold leading-tight mt-0.5",children:s.desc})]}),(0,t.jsx)("span",{className:"text-[10px] text-gray-400 font-bold uppercase tracking-wider",children:s.time})]})]})},s.id):null})})}),z=({className:e,theme:s=j,headline:i=k,subheadline:r=A,primaryCtaText:l=N,secondaryCtaText:o=E,bookUrls:u=C,notifications:p=B,decorativeIcon:x=_,onPrimaryCtaCl
1ick:g,onSecondaryCtaClick:b})=>{let{containerRef:F,smoothScrollY:y,opacity:T,scale:z,y:M}=(({offset:e=["start start","end start"],damping:t=40,stiffness:s=80,mass:i=1}={})=>{let r=(0,a.useRef)(null),{scrollYProgress:l}=(0,d.useScroll)({target:r,offset:e}),o=(0,c.useSpring)(l,{damping:t,stiffness:s,mass:i}),n=(0,h.useTransform)(o,[0,.5],[1,0]),m=(0,h.useTransform)(o,[0,.5],[1,.9]),u=(0,h.useTransform)(o,[0,1],[0,150]);return{containerRef:r,scrollYProgress:l,smoothScrollY:o,opacity:n,scale:m,y:u}})(),{mouseX:I,mouseY:P,handleMouseMove:L}=(({stiffness:e=40,damping:t=30}={})=>{let s=(0,c.useSpring)(.5,{stiffness:e,damping:t}),a=(0,c.useSpring)(.5,{stiffness:e,damping:t});return{mouseX:s,mouseY:a,handleMouseMove:e=>{let{clientX:t,clientY:i}=e,{innerWidth:r,innerHeight:l}=window;s.set(t/r),a.set(i/l)}}})(),{activeIndex:O,isHovering:R,setIsHovering:H}=(({itemCount:e,interval:t=4e3,autoPlay:s=!0})=>{let[i,r]=(0,a.useState)(0),[l,o]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!s||l||0===e)return;let a=setInterval(()=>{r(t=>(t+1)%e)},t);return()=>clearInterval(a)},[e,t,l,s]),{activeIndex:i,setActiveIndex:r,isHovering:l,setIsHovering:o,next:()=>{r(t=>(t+1)%e)},previous:()=>{r(t=>(t-1+e)%e)}}})({itemCount:p.length,interval:4e3});return(0,t.jsxs)("section",{ref:F,onMouseMove:L,className:(0,m.cn)("relative min-h-[100dvh] overflow-hidden flex flex-col justify-center py-24 md:py-48",e),children:[(0,t.jsxs)(n.motion.div,{style:{opacity:T},className:"absolute inset-0 z-0 pointer-events-none perspective-[1000px] will-change-transform",children:[(0,t.jsx)(n.motion.div,{style:{x:(0,h.useTransform)(I,[0,1],[15,-15]),y:(0,h.useTransform)(P,[0,1],[15,-15])},className:"absolute top-[12%] left-[10%] md:left-[20%] opacity-20 md:opacity-100 blur-[2px] will-change-transform",children:(0,t.jsx)(x,{size:64,className:(0,m.cn)("rotate-12",s.accent,"opacity-20"),strokeWidth:1.5})}),(0,t.jsx)(D,{src:u.ATOMIC_HABITS,scrollYProgress:y,mouseX:I,mouseY:P,depth:2.5,initialRotate:-12,blur:"blur-[0px]",className:"left-[-20%] top-[8%] w-[120px] md:left-[-2%] md:top-[18%] md:w-[220px] aspect-[2/3] z-20 opacity-100 shadow-soft-lg"}),(0,t.jsx)(D,{src:u.PRINCIPLES,scrollYProgress:y,mouseX:I,mouseY:P,depth:1.2,initialRotate:-5,blur:"blur-[2px]",className:"left-[5%] bottom-[12%] md:left-[5%] md:bottom-[15%] w-[80px] md:w-[150px] aspect-[2/3] z-10 opacity-60 md:opacity-80 shadow-soft"}),(0,t.jsx)(D,{src:u.THINKING_FAST,scrollYProgress:y,mouseX:I,mouseY:P,depth:3,initialRotate:8,blur:"blur-[0px]",className:"right-[-25%] top-[10%] w-[140px] md:right-[-2%] md:top-[12%] md:w-[260px] aspect-[2/3] z-20 opacity-100 shadow-soft-lg"}),(0,t.jsx)(D,{src:u.DEEP_WORK,scrollYProgress:y,mouseX:I,mouseY:P,depth:1.8,initialRotate:15,blur:"blur-[2px]",className:"right-[5%] top-[15%] md:right-[15%] md:top-[22%] w-[80px] md:w-[130px] aspect-[2/3] z-10 hidden md:block opacity-90 shadow-soft"}),(0,t.jsx)(D,{src:u.SAPIENS,scrollYProgress:y,mouseX:I,mouseY:P,depth:1.5,initialRotate:-8,blur:"blur-[4px]",className:"right-[-5%] bottom-[18%] md:right-[8%] md:bottom-[12%] w-[90px] md:w-[180px] aspect-[2/3] z-10 opacity-70 shadow-soft"})]}),(0,t.jsxs)(n.motion.div,{style:{scale:z,opacity:T,y:M},className:"relative z-10 w-full max-w-7xl mx-auto px-4 md:px-12 flex flex-col items-center gap-10 md:gap-5 will-change-transform",children:[(0,t.jsx)(S,{activeNoteIndex:O,isHovering:R,setIsHovering:H,notifications:p}),(0,t.jsxs)("div",{className:"text-center max-w-7xl mx-auto w-full mt-2 relative",children:[(0,t.jsxs)(n.motion.h1,{variants:f.heroTitleVariants,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.1,ease:f.easeOutCubic},className:(0,m.cn)("text-4xl sm:text-6xl md:text-7xl lg:text-8xl xl:text-[110px] font-black tracking-tighter mb-8 md:mb-6 leading-[1.1] lg:leading-[0.9]",s.text),children:[(0,t.jsxs)("span",{className:"block lg:whitespace-nowrap",children:[(0,t.jsx)("span",{className:"block lg:inline",children:"Replace "}),(0,t.jsx)("span",{className:"line-through decoration-brand-orange decoration-[6px] md:decoration-[8px]",children:"doomscrolling"})]}),(0,t.jsxs)("span",{className:"block lg:whitespace-nowrap",children:["with"," ",(0,t.jsx)("span",{className:(0,m.cn)(s.accent),children:"microlearning"})]})]}),(0,t.jsx)(n.motion.p,{variants:f.heroSubtitleVariants,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.3,ease:"easeOut"},className:(0,m.cn)("text-lg md:text-2xl font-bold mb-12 md:mb-10 max-w-[90%] md:max-w-5xl mx-auto leading-relaxed text-balance lg:whitespace-nowrap",s.textSecondary),children:r}),(0,t.jsxs)(n.motion.div,{variants:f.heroSubtitleVariants,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.4,ease:"easeOut"},className:"flex flex-col sm:flex-row justify-center gap-4 md:gap-6 w-full max-w-md
1sm:max-w-none mx-auto",children:[(0,t.jsx)(v.Button,{variant:"primary",size:"lg",className:"w-full sm:w-auto h-16 md:h-20 text-xl rounded-full px-12 shadow-xl shadow-brand-orange/20 border-b-[6px]",onClick:g,children:l}),(0,t.jsx)(v.Button,{variant:"secondary",size:"lg",className:"w-full sm:w-auto h-16 md:h-20 text-xl rounded-full px-12 border-[3px] border-b-[6px] border-gray-100 hover:border-gray-200",onClick:b,children:o})]})]})]}),(0,t.jsx)(w.ScrollDownIndicator,{className:"absolute bottom-8 left-1/2 -translate-x-1/2 hidden md:flex z-20"})]})};var M=e.i(32772),I=e.i(4870),P=e.i(70208),L=e.i(50134);let O=(0,L.default)("battery",[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]]),R=(0,L.default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var H=e.i(57845),Y=e.i(30951),q=e.i(8480);let V=(0,L.default)("scan-line",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]]),W=(0,L.default)("signal",[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]);var G=e.i(75088);let K=(0,L.default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]),X=(0,L.default)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);var U=e.i(89230);let $={bookBg:"bg-[#FFF2E5]",podcastBg:"bg-Sky-50",articleBg:"bg-Mustard-50",text:"text-[#1A1A1A]",textSecondary:"text-gray-600",accent:"text-brand-orange",accentSecondary:"text-brand-green",cardBg:"bg-white",border:"border-gray-200"},Z=F.HERO_IMAGES[0],J=F.MOBILE_DEMO_IMAGES.slice(1),Q=[{id:1,title:"The 1% Rule",time:"3 min",locked:!1},{id:2,title:"Systems over Goals",time:"3 min",locked:!0},{id:3,title:"Identity-Based Habits",time:"5 min",locked:!0},{id:4,title:"Atomic Habits",time:"5 min",locked:!0},{id:5,title:"The Habit Loop",time:"3 min",locked:!0},{id:6,title:"The 4 Laws of Behavior Change",time:"3 min",locked:!0}];U.Zap;let ee={scanning:"Scanning...",bookFound:"Book Found!",confirmed:"Confirmed",detected:"Detected",category:"Self Improvement",readTime:"7 minute read",mainIdeas:"Main Ideas",continueButton:"Continue",time:"9:41"},et=({isLocked:e,coverUrl:s})=>(0,t.jsxs)("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-[2px] flex flex-col items-center justify-center",children:[(0,t.jsxs)("div",{className:"w-[70%] aspect-[3/4] relative mb-8",children:[(0,t.jsx)("div",{className:(0,m.cn)("absolute top-0 left-0 w-8 h-8 border-t-[4px] border-l-[4px] rounded-tl-xl shadow-sm transition-all duration-300",e?"border-green-400 scale-105":"border-white")}),(0,t.jsx)("div",{className:(0,m.cn)("absolute top-0 right-0 w-8 h-8 border-t-[4px] border-r-[4px] rounded-tr-xl shadow-sm transition-all duration-300",e?"border-green-400 scale-105":"border-white")}),(0,t.jsx)("div",{className:(0,m.cn)("absolute bottom-0 left-0 w-8 h-8 border-b-[4px] border-l-[4px] rounded-bl-xl shadow-sm transition-all duration-300",e?"border-green-400 scale-105":"border-white")}),(0,t.jsx)("div",{className:(0,m.cn)("absolute bottom-0 right-0 w-8 h-8 border-b-[4px] border-r-[4px] rounded-br-xl shadow-sm transition-all duration-300",e?"border-green-400 scale-105":"border-white")}),!e&&(0,t.jsx)("div",{className:"absolute inset-0 overflow-hidden rounded-lg",children:(0,t.jsx)(n.motion.div,{initial:{top:"-10%"},animate:{top:"110%"},transition:{duration:1.5,repeat:1/0,ease:"linear"},className:"absolute left-0 right-0 h-[2px] bg-brand-orange shadow-[0_0_25px_3px_#FF5E0E] z-10"})}),(0,t.jsx)(T.AnimatePresence,{children:e&&(0,t.jsxs)(n.motion.div,{initial:{opacity:0,scale:.8}
1,animate:{opacity:1,scale:1},transition:{type:"spring",damping:20,stiffness:300},className:"absolute inset-2 z-20 rounded-lg overflow-hidden border-2 border-green-500 shadow-[0_0_40px_rgba(74,222,128,0.4)]",children:[(0,t.jsx)("img",{src:s,alt:"Found Book",className:"w-full h-full object-cover"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-green-500/10 mix-blend-overlay"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-3 bg-black/80 backdrop-blur-sm flex items-center justify-center",children:(0,t.jsxs)("div",{className:"flex items-center gap-1.5 text-green-400 font-bold text-xs uppercase tracking-wider",children:[(0,t.jsx)(R,{size:14,fill:"currentColor",className:"text-white"}),"Confirmed"]})})]})})]}),(0,t.jsx)("div",{className:(0,m.cn)("backdrop-blur-md px-6 py-3 rounded-full flex items-center gap-3 border transition-colors duration-300 shadow-xl",e?"bg-green-500 text-white border-green-400":"bg-black/60 text-white border-white/10"),children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(G.Star,{size:18,fill:"currentColor",className:"animate-bounce"}),(0,t.jsx)("span",{className:"font-bold tracking-wide text-sm",children:"Book Found!"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(V,{className:"animate-pulse",size:18}),(0,t.jsx)("span",{className:"font-bold tracking-wide text-sm",children:"Scanning..."})]})})]}),es=({coverUrl:e,scrollProgress:s,isButtonPressed:a,themeColor:i="#FFF2E5",mainIdeas:r=Q,uiText:l=ee})=>{let o=(0,h.useTransform)(s,[0,1],[0,-650-44*r.length]);return(0,t.jsxs)("div",{className:"w-full h-full relative overflow-hidden flex flex-col",style:{backgroundColor:i},children:[(0,t.jsx)("div",{className:"absolute top-0 left-0 right-0 h-20 bg-gradient-to-b from-[#FFF2E5] via-[#FFF2E5]/90 to-transparent z-20 pointer-events-none"}),(0,t.jsxs)(n.motion.div,{style:{y:o},className:"w-full pb-40 will-change-transform pt-14 px-6",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center text-center mb-10 mt-6",children:[(0,t.jsx)("div",{className:"w-[180px] shrink-0 rounded-r-lg rounded-l-md shadow-2xl overflow-hidden mb-8 transform hover:scale-[1.02] transition-transform duration-300",children:(0,t.jsx)("img",{src:e,alt:"Cover",className:"w-full h-full object-cover"})}),(0,t.jsx)("h2",{className:"text-3xl font-black text-[#1A0500] leading-[1.1] tracking-tight mb-4 text-balance",children:"How tiny changes create remarkable results"})]}),(0,t.jsxs)("div",{className:"flex border border-white/40 bg-white/60 backdrop-blur-md rounded-xl shadow-sm px-6 py-4 justify-between mb-8",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-xl bg-brand-yellow/20 flex items-center justify-center",children:(0,t.jsx)(G.Star,{size:20,className:"text-brand-yellowDark",fill:"currentColor"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-[10px] text-gray-500 font-bold uppercase",children:"Key Ideas"}),(0,t.jsx)("div",{className:"font-black text-[#1A1A1A]",children:"6"})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-xl bg-brand-pink/10 flex items-center justify-center",children:(0,t.jsx)(H.Clock,{size:20,className:"text-brand-pink"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-[10px] text-gray-500 font-bold uppercase",children:"Time per idea"}),(0,t.jsx)("div",{className:"font-black text-[#1A1A1A]",children:"3-5 min"})]})]})]}),(0,t.jsx)("div",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest ml-1 mb-2",children:"Description"}),(0,t.jsxs)("div",{className:"bg-white/60 backdrop-blur-md p-6 rounded-2xl shadow-sm border border-white/40 mb-8 text-sm text-[#4A403A] leading-relaxed",children:[(0,t.jsx)("strong",{className:"text-[#1A1A1A]",children:"Atomic Habits"})," by James Clear is a ",(0,t.jsx)("strong",{children:"self-help book"})," that provides a framework for ",(0,t.jsx)("strong",{children:"building good habits"})," and breaking bad ones. It offers ",(0,t.jsx)("strong",{children:"practical strategies"})," for making small, consistent changes that can lead to significant"," ",(0,t.jsx)("strong",{children:"personal growth"}),".",(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),"Inside, we'll discover ",(0,t.jsx)("strong",{children:"5 game-changing insights"})," like habit stacking and the compound effect that James Clear spent years perfecting."]}),(0,t.jsx)("div",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest ml-1 mb-2",children:l.mainIdeas}),(0,t.jsx)("div",{className:"space-y-3",children:r.map(e=>(0,t.jsxs)("div",{className:(0,m.cn)("bg-white/80 p-4 rounded-2xl shadow-sm border flex items-center justify-between",e.locked?"border-transparent opacity-60":"border-brand-orange/30 group"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsxs)("div",{className:(0,m.cn)("w-8 h-8 rounded-full flex items-center justify-center font-bold text-sm shrink-0",e.locked?"bg-gray-200 text-gray-400":"bg-brand-orange text-white"),children:["#",e.id]}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h4",{className:"font-bold text-[#1A1A1A] truncate pr-2",children:e.title}),(0,t.jsx)("p",{className:"text-xs text-gray-500 font-medium",children:e.time})]})]}),e.locked?(0,t.jsx)(Y.Lock,{size:16,className:"text-gray-300 shrink-0"}):(0,t.jsx)(P.ArrowRight,{size:18,className:"text-brand-orange shrink-0"})]},e.id))})]}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-6 z-30 bg-gradient-to-t from-[#FFF2E5] via-[#FFF2E5] to-transparent pt-12",children:(0,t.jsxs)(n.motion.button,{animate:{scale:a?.95:1,backgroundColor:a?"#333":"#1A1A1A"},transition:{duration:.1},className:"w-full bg-[#1A1A1A] text-white font-bold text-lg h-14 roun
1ded-full shadow-xl flex items-center justify-center gap-2 hover:scale-[1.02] active:scale-[0.98] transition-all",children:[(0,t.jsx)(q.Play,{fill:"currentColor",size:18}),"Keep Scrolling"]})})]})},ea=({activeSlide:e,onComplete:s})=>{let a=[{id:"intro",title:"The Insight",content:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center h-full text-center px-6",children:[(0,t.jsx)("div",{className:"w-32 h-32 bg-brand-orange/10 rounded-full flex items-center justify-center mb-6",children:(0,t.jsx)(K,{size:48,className:"text-brand-orange"})}),(0,t.jsxs)("h3",{className:"text-2xl font-black text-[#1A1A1A] leading-tight mb-4",children:["Improve 1% ",(0,t.jsx)("br",{})," every day."]}),(0,t.jsx)("p",{className:"text-gray-600 font-medium leading-relaxed",children:"Atomic Habits teaches that small, consistent improvements compound into massive results."})]})},{id:"value",title:"The Shortcut",content:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center h-full px-6 text-center",children:[(0,t.jsxs)("div",{className:"w-32 h-32 bg-[#E0F2FE] rounded-2xl mb-6 relative overflow-hidden flex items-center justify-center shadow-inner",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_center,_var(--tw-gradient-stops))] from-brand-green/20 to-transparent opacity-50"}),(0,t.jsx)(U.Zap,{size:64,className:"text-brand-green relative z-10",fill:"currentColor"}),(0,t.jsx)(n.motion.div,{animate:{scale:[1,1.2,1],opacity:[.5,1,.5]},transition:{duration:2,repeat:1/0},className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-20 h-20 bg-brand-green/20 rounded-full blur-xl"})})]}),(0,t.jsxs)("h3",{className:"text-xl font-black text-[#1A1A1A] leading-tight mb-3",children:["Don't just read. ",(0,t.jsx)("br",{})," Understand instantly."]}),(0,t.jsx)("p",{className:"text-gray-600 font-medium text-sm leading-relaxed text-balance",children:"Deepstash extracts the key ideas from thousands of books like this one, so you can learn faster."})]})},{id:"success",title:"Success",content:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center h-full px-6 text-center pb-12",children:[(0,t.jsxs)("div",{className:"relative mb-8",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-green-500/20 blur-xl rounded-full"}),(0,t.jsx)(n.motion.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:300,damping:20,delay:.1},className:"w-24 h-24 bg-green-500 rounded-full flex items-center justify-center relative shadow-xl border-4 border-white",children:(0,t.jsx)(R,{size:48,className:"text-white",strokeWidth:4})}),[...Array(6)].map((e,s)=>(0,t.jsx)(n.motion.div,{initial:{opacity:1,x:0,y:0,scale:0},animate:{opacity:0,x:(Math.random()-.5)*100,y:(Math.random()-.5)*100,scale:1},transition:{duration:.8,delay:.2,repeat:1/0,repeatDelay:2},className:"absolute top-1/2 left-1/2 w-2 h-2 bg-green-400 rounded-full"},s))]}),(0,t.jsx)("h3",{className:"text-3xl font-black text-[#1A1A1A] leading-tight mb-4",children:"You're 1% Smarter!"}),(0,t.jsxs)("p",{className:"text-gray-600 font-medium text-sm leading-relaxed text-balance mb-12",children:["You just grasped a core concept from"," ",(0,t.jsx)("strong",{className:"text-black",children:"Atomic Habits"}),". That's the power of Deepstash."]}),(0,t.jsx)(n.motion.button,{onClick:s,whileHover:{scale:1.02},whileTap:{scale:.98},className:"w-full bg-[#1A1A1A] text-white font-bold text-lg h-14 roun
1ded-full shadow-xl flex items-center justify-center gap-2 hover:scale-[1.02] active:scale-[0.98] transition-all",children:"Continue"})]})}],i=a[e]||a[0];return(0,t.jsxs)("div",{className:"w-full h-full bg-[#FAFAF9] relative flex flex-col",children:[(0,t.jsx)("div",{className:"h-1.5 w-full bg-gray-200 flex",children:(0,t.jsx)("div",{className:"h-full bg-brand-orange transition-all duration-300",style:{width:`${(e+1)/3*100}%`}})}),(0,t.jsx)("div",{className:"h-6"}),(0,t.jsx)("div",{className:"flex-1 relative overflow-hidden w-full",children:(0,t.jsx)(T.AnimatePresence,{mode:"wait",children:(0,t.jsx)(n.motion.div,{initial:{opacity:0,scale:.95,filter:"blur(2px)"},animate:{opacity:1,scale:1,filter:"blur(0px)"},exit:{opacity:0,scale:1.05,filter:"blur(2px)"},transition:{duration:.35,ease:"easeOut"},className:"absolute inset-0 w-full h-full flex flex-col",children:i.content},i.id)})})]})},ei=({src:e})=>(0,t.jsx)("div",{className:"w-[110px] h-[165px] md:w-[180px] md:h-[270px] rounded-xl shadow-lg flex-shrink-0 relative overflow-hidden bg-white hover:-translate-y-2 transition-transform duration-300 border border-black/10",children:(0,t.jsx)("img",{src:e,alt:"Book cover",className:"w-full h-full object-cover select-none",loading:"lazy",decoding:"async"})}),er=({books:e,targetIndex:s,progress:i})=>{let[r,l]=(0,a.useState)(1e3);(0,a.useEffect)(()=>
1{l(window.innerWidth);let e=()=>l(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let o=r<1024,d=o?110:180,c=d+(o?24:48),m=r/2-(s*c+d/2),u=(0,h.useTransform)(i,[0,1],[m+3*c,m]);return(0,t.jsx)("div",{className:"overflow-hidden w-full py-16 relative perspective-[1000px]",children:(0,t.jsx)(n.motion.div,{style:{x:u},className:"flex gap-6 md:gap-12 pl-4 w-max items-end will-change-transform",children:e.map((e,s)=>(0,t.jsx)(ei,{src:e},`${e}-${s}`))})})},el=({className:e,theme:s=$,headline:i,subheadline:r,contentItems:l,bookCovers:o=J})=>{let u=(0,a.useRef)(null),{scrollYProgress:p}=(0,d.useScroll)({target:u,offset:["start start","end end"]}),x=(0,c.useSpring)(p,{damping:40,stiffness:300,mass:1}),g=(0,h.useTransform)(x,[.05,.15],[0,1]),[b,f]=(0,a.useState)(!1);(0,I.useMotionValueEvent)(g,"change",e=>{f(e>.95)});let v=(0,h.useTransform)(x,[0,.05],["120vh","0vh"]),w=(0,h.useTransform)(x,[.25,.45],[0,1]),[F,y]=(0,a.useState)(!1);(0,I.useMotionValueEvent)(x,"change",e=>{y(e>.45&&e<.48)});let[j,k]=(0,a.useState)(0),[A,N]=(0,a.useState)(0);(0,I.useMotionValueEvent)(x,"change",e=>{e<.05?k(0):e<.2?k(1):e<.48?k(2):(k(3),e<.65?N(0):e<.82?N(1):N(2))});let[E,_]=(0,a.useState)({books:[],targetIndex:0});(0,a.useEffect)(()=>{let e=[...o.filter(e=>e!==Z)].sort(()=>.5-Math.random());e.splice(10,0,Z),_({books:e,targetIndex:10})},[o]);let[C,B]=(0,a.useState)(!1),[D,S]=(0,a.useState)(!1),[z,M]=(0,a.useState)("hidden");(0,I.useMotionValueEvent)(x,"change",e=>{B(e>.05)}),(0,a.useEffect)(()=>{let e,t;return C?e=setTimeout(()=>{S(!0),M("visible"),t=setTimeout(()=>{M("pop")},560)},2e3):(S(!1),M("hidden")),()=>{clearTimeout(e),clearTimeout(t)}},[C]);let[P,L]=(0,a.useState)(!1);(0,a.useEffect)(()=>{L(window.innerWidth>=768);let e=()=>L(window.innerWidth>=768);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let R=(0,h.useTransform)(x,[0,.05],[0,150]),H=(0,h.useTransform)(x,[0,.05],[1,.65]);return(0,t.jsx)("section",{ref:u,className:(0,m.cn)("relative bg-[#FAFAF9] z-20",e),style:{height:"850vh"},children:(0,t.jsxs)("div",{className:"sticky top-0 h-[100dvh] w-full overflow-hidden flex flex-col items-center justify-center",children:[(0,t.jsx)("div",{className:"absolute left-0 right-0 top-[33%] md:top-[15%] z-20 pointer-events-none flex justify-center",children:(0,t.jsx)(n.motion.div,{style:P?{y:R,scale:H}:{},children:(0,t.jsx)("p",{className:"text-lg md:text-6xl text-gray-400/100 md:text-gray-300 font-light md:font-extralight tracking-wide md:tracking-tight",children:"Keep scrolling"})})}),(0,t.jsx)(n.motion.div,{className:"absolute w-full top-1/2 -translate-y-1/2 transform scale-100 will-change-transform",style:{opacity:(0,h.useTransform)(x,[.15,.2],[1,0]),filter:(0,h.useTransform)(x,[.15,.2],["blur(0px)","blur(10px)"])},children:(0,t.jsx)(er,{books:E.books,targetIndex:E.targetIndex,progress:g})}),(0,t.jsxs)(n.motion.div,{style:{y:v},className:"relative z-30 w-[85vw] max-w-[340px] md:w-[380px] aspect-[1/2] max-h-[85vh] will-change-transform",children:[(0,t.jsx)(T.AnimatePresence,{children:D&&(0,t.jsx)(n.motion.div,{variants:{hidden:{x:-10,y:50,opacity:0,zIndex:0,scale:.9},visible:{x:-10,y:-38,opacity:1,zIndex:0,scale:1,transition:{type:"spring",damping:35,stiffness:180}},pop:{x:-10,y:-35,opacity:1,zIndex:40,scale:1}},initial:"hidden",animate:z,exit:"hidden",className:"absolute -top-4 right-8 w-[180px] pointer-events-none",children:(0,t.jsx)("img",{src:"https://static.deepstash.com/site/mascot_keep_scrolling.webp",alt:"Keep Scrolling",className:"w-full h-full object-contain drop-shadow-2xl"})})}),(0,t.jsxs)("div",{className:"w-full h-full bg-[#1A1A1A] rounded-[3.5rem] border-[8px] border-[#222] overflow-hidden relative shadow-[0_30px_60px_-15px_rgba(0,0,0,0.3)] ring-1 ring-white/10 z-10 transform-gpu",children:[(0,t.jsxs)("div",{className:"absolute top-0 left-0 right-0 h-14 z-50 flex justify-between items-center px-7 pt-3 pointer-events-none",children:[(0,t.jsx)("div",{className:(0,m.cn)("text-[13px] font-black transition-colors duration-500",j<2?"text-white":"text-black"),children:"9:41"}),(0,t.jsx)("div",{className:"h-[28px] bg-black rounded-full absolute left-1/2 -translate-x-1/2 top-3 flex items-center justify-center px-4 gap-2 transition-all duration-300 z-50 overflow-hidden",style:{width:1===j?"110px":"9
10px"},children:1===j&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-white text-[10px] font-bold whitespace-nowrap",children:[(0,t.jsx)("div",{className:(0,m.cn)("w-1.5 h-1.5 rounded-full",b?"bg-green-500":"bg-orange-500 animate-pulse")}),b?"Detected":"Scanning"]})}),(0,t.jsxs)("div",{className:(0,m.cn)("flex gap-1.5 items-center transition-colors duration-500",j<2?"text-white":"text-black"),children:[(0,t.jsx)(W,{size:16,strokeWidth:2.5}),(0,t.jsx)(X,{size:16,strokeWidth:2.5}),(0,t.jsx)(O,{size:20,strokeWidth:2.5})]})]}),(0,t.jsx)("div",{className:"w-full h-full relative overflow-hidden bg-black",children:(0,t.jsxs)(T.AnimatePresence,{mode:"wait",children:[(0===j||1===j)&&(0,t.jsx)(n.motion.div,{exit:{opacity:0},transition:{duration:.5},className:"absolute inset-0 w-full h-full",children:(0,t.jsx)(et,{isLocked:b,coverUrl:E.books[E.targetIndex]||Z})},"scan"),2===j&&(0,t.jsxs)(n.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"absolute inset-0 w-full h-full",children:[(0,t.jsx)(es,{coverUrl:E.books[E.targetIndex]||Z,scrollProgress:w,isButtonPressed:F,mainIdeas:Q,uiText:ee}),(0,t.jsx)(eo,{value:w,onChange:()=>{}})]},"summary"),3===j&&(0,t.jsx)(n.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"absolute inset-0 w-full h-full",children:(0,t.jsx)(ea,{activeSlide:A,onComplete:()=>{if(u.current){let e=u.current.offsetTop+u.current.offsetHeight;window.scrollTo({top:e,behavior:"smooth"})}}})},"story")]})})]})]})]})})},eo=({value:e,onChange:t})=>{let[s,i]=(0,a.useState)(0);return(0,I.useMotionValueEvent)(e,"change",()=>i(e=>e+1)),null},en=({className:e,bookCovers:s=J})=>{let i=(0,a.useRef)(null),{scrollYProgress:r}=(0,d.useScroll)({target:i,offset:["start start","end end"]}),l=(0,c.useSpring)(r,{damping:40,stiffness:300,mass:1}),[o,u]=(0,a.useState)(0),[p,x]=(0,a.useState)(0),g=Math.max(o,p);(0,I.useMotionValueEvent)(l,"change",e=>{let t=e<.12?0:e<.22?1:e<.27?2:e<.32?3:e<.57?4:e<.71?5:e<.85?6:7;u(t),t<2&&x(0)}),(0,a.useEffect)(()=>{if(2===g){let e=setTimeout(()=>x(e=>Math.max(e,3)),1e3);return()=>clearTimeout(e)}if(3===g){let e=setTimeout(()=>x(e=>Math.max(e,4)),1e3);return()=>clearTimeout(e)}},[g]),(0,a.useEffect)(()=>{let e=i.current;if(!e)return;let t=[.32,.57,.71,.85,1],s=t=>e.offsetTop+(e.offsetHeight-window.innerHeight)*t,a=!1,r=!1,l=!1,o=0,n=e=>{l=!0,document.documentElement.style.overflow="hidden",window.scrollTo(0,e)},d=()=>{l&&(l=!1,document.documentElement.style.overflow="")},c=()=>{a=!0,r=!0,d()},h=()=>{r=!1,o=window.scrollY},m=()=>{if(!a||l||r)return;let e=window.scrollY;for(let a of t){let t=s(a);if(e>t&&o<t)return void n(t)}};return document.addEventListener("touchstart",c,{passive:!0}),document.addEventListener("touchend",h,{passive:!0}),window.addEventListener("scroll",m,{passive:!0}),()=>{document.removeEventListener("touchstart",c),document.removeEventListener("touchend",h),window.removeEventListener("scroll",m),d()}},[]);let b=(0,M.useMotionValue)(1),[f,v]=(0,a.useState)({books:[],targetIndex:0});(0,a.useEffect)(()=>{let e=[...s.filter(e=>e!==Z)].sort(()=>.5-Math.random());e.splice(10,0,Z),v({books:e,targetIndex:10})},[s]);let w=(0,h.useTransform)(l,[.12,.22],["120vh","0vh"]),F=(0,h.useTransform)(l,[.16,.24],[1,0]),y=(0,h.useTransform)(l,[.16,.24],["blur(0px)","blur(10px)"]),j=(0,h.useTransform)(l,[0,.1],[1,0]),k=(0,h.useTransform)(l,[.32,.57],[0,1]),A=g>=3,N=g<=3?"scanning":4===g?"summary":"story",E=g>=2&&g<=3;return(0,t.jsx)("section",{ref:i,className:(0,m.cn)("relative bg-[#FAFAF9] z-20",e),style:{height:"450vh"},children:(0,t.jsxs)("div",{className:"sticky top-0 h-[100dvh] w-full overflow-hidden flex flex-col items-center justify-center",children:[(0,t.jsx)(n.motion.div,{style:{opacity:j},className:"absolute left-0 right-0 top-[33%] z-20 pointer-events-none flex justify-center",children:(0,t.jsx)("p",{className:"text-lg text-gray-400 font-light tracking-wide",children:"Keep scrolling"})}),(0,t.jsx)(n.motion.div,{className:"absolute w-full top-1/2 -translate-y-1/2",style:{opacity:F,filter:y},children:(0,t.jsx)(er,{books:f.books,targetIndex:f.targetIndex,progress:b})}),(0,t.jsx)(n.motion.div,{style:{y:w},className:"relative z-30 w-[85vw] max-w-[340px] aspect-[1/2] max-h-[85vh] will-change-transform",children:(0,t.jsxs)("div",{className:"w-full h-full bg-[#1A1A1A] rounded-[3.5rem] border-[8px] border-[#222] overflow-hidden relative shadow-[0_30px_60px_-15px_rgba(0,0,0,0.3)] ring-1 ring-white/10 z-10 transform-gpu",children:[(0,t.jsxs)("div",{className:"absolute top-0 left-0 right-0 h-14 z-50 flex justify-between items-center px-7 pt-3 pointer-events-none",children:[(0,t.jsx)("div",{className:(0,m.cn)("text-[13px] font-black transition-colors duration-500","scanning"===N?"text-white":"text-black"),children:"9:41"}),(0,t.jsx)("div",{className:"h-[28px] bg-black rounded-full absolute left-1/2 -translate-x-1/2 top-3 flex items-center justify-center px-4 gap-2 transition-all duration-300 z-50 overflow-hidden",style:{width:E?"110px":"90px"},children:E&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-white text-[10px] font-bold whitespace-nowrap",children:[(0,t.jsx)("div",{className:(0,m.cn)("w-1.5 h-1.5 rounded-full",A?"bg-green-500":"bg-orange-500 animate-pulse")}),A?"Detected":"Scanning"]})}),(0,t.jsxs)("div",{className:(0,m.cn)("flex gap-1.5 items-center transition-colors duration-500","scanning"===N?"text-white":"text-black"),children:[(0,t.jsx)(W,{size:16,strokeWidth:2.5}),(0,t.jsx)(X,{size:16,strokeWidth:2.5}),(0,t.jsx)(O,{size:20,strokeWidth:2.5})]})]}),(0,t.jsx)("div",{className:"w-full h-full relative overflow-hidden bg-black",children:(0,t.jsxs)(T.AnimatePresence,{mode:"wait",children:["scanning"===N&&(0,t.jsx)(n.motion.div,{exit:{opacity:0}
1,transition:{duration:.5},className:"absolute inset-0 w-full h-full",children:(0,t.jsx)(et,{isLocked:A,coverUrl:Z})},"scan"),"summary"===N&&(0,t.jsxs)(n.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"absolute inset-0 w-full h-full",children:[(0,t.jsx)(es,{coverUrl:Z,scrollProgress:k,isButtonPressed:!1,mainIdeas:Q,uiText:ee}),(0,t.jsx)(eo,{value:k,onChange:()=>{}})]},"summary"),"story"===N&&(0,t.jsx)(n.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"absolute inset-0 w-full h-full",children:(0,t.jsx)(ea,{activeSlide:5===g?0:6===g?1:2,onComplete:()=>{if(i.current){let e=i.current.offsetTop+i.current.offsetHeight;window.scrollTo({top:e,behavior:"smooth"})}}})},"story")]})})]})})]})})},ed=e=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(el,{...e})}),(0,t.jsx)("div",{className:"md:hidden",children:(0,t.jsx)(en,{...e})})]});var ec=e.i(78635);let eh=()=>(0,t.jsxs)("div",{className:"relative w-full h-full flex items-center justify-center pointer-events-none",children:[(0,t.jsx)(n.motion.div,{animate:{scale:[.8,1.2,.8],opacity:[.5,.8,.5]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"absolute w-[35vw] h-[35vw] bg-[radial-gradient(circle,rgba(235,171,35,0.8)_0%,transparent_70%)] mix-blend-multiply transform-gpu will-change-transform"}),(0,t.jsx)(n.motion.div,{animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},className:"absolute w-[35vw] h-[35vw] border-[3px] border-brand-orange/30 rounded-[40%] border-dashed transform-gpu will-change-transform"}),(0,t.jsx)(n.motion.div,{animate:{rotate:-360},transition:{duration:15,repeat:1/0,ease:"linear"},className:"absolute w-[32vw] h-[32vw] border-[2px] border-brand-pink/30 rounded-[35%] transform-gpu will-change-transform"}),(0,t.jsx)(n.motion.div,{animate:{scale:[.9,1.1,.9],rotate:[0,10,-10,0]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},className:"absolute w-[35vw] h-[35vw] bg-[radial-gradient(circle,rgba(244,102,83,0.6)_0%,transparent_70%)] mix-blend-multiply transform-gpu will-change-transform"}),(0,t.jsx)(n.motion.div,{animate:{scale:[1.1,.9,1.1],rotate:[0,-45,0]},transition:{duration:5,repeat:1/0,ease:"easeInOut"},className:"absolute w-[30vw] h-[40vw] bg-[radial-gradient(circle,rgba(237,98,149,0.5)_0%,transparent_70%)] mix-blend-multiply transform-gpu will-change-transform"}),(0,t.jsxs)(n.motion.div,{animate:{rotate:360},transition:{duration:30,repeat:1/0,ease:"linear"},className:"absolute w-[40vw] h-[40vw] transform-gpu will-change-transform",children:[(0,t.jsx)("div",{className:"absolute top-0 left-1/2 w-4 h-4 bg-brand-orange rounded-full opacity-80"}),(0,t.jsx)("div",{className:"absolute bottom-10 right-10 w-6 h-6 bg-brand-pink rounded-full opacity-80"}),(0,t.jsx)("div",{className:"absolute top-1/2 left-0 w-3 h-3 bg-brand-yellow rounded-full opacity-80"})]})]}),em=()=>{let e=(0,a.useRef)(null),{scrollYProgress:s}=(0,d.useScroll)({target:e,offset:["start start","end end"]}),i=(0,c.useSpring)(s,{stiffness:60,damping:20,mass:1}),r=(0,h.useTransform)(i,[0,.3],[1,4]),l=(0,h.useTransform)(i,[.25,.35],[1,0]),o=(0,h.useTransform)(i,[0,.3],["1px","0px"]),m=(0,h.useTransform)(i,[.3,.9],[.5,3.5]),u=(0,h.useTransform)(i,[.3,.5],[0,1]),p=(0,h.useTransform)(i,[.1,.4],["0%","-150%"]),x=(0,h.useTransform)(i,[.2,.4],[1,0]),g=(0,h.useTransform)(i,[.4,.6],[.9,1]),b=(0,h.useTransform)(i,[.45,.55],[0,1]),f=(0,h.useTransform)(i,[.4,.6],["50px","0px"]),v=(0,h.useTransform)(i,[.95,1],[1,0]),w=(0,h.useTransform)(i,[.95,1],[1,.98]);return(0,t.jsx)("section",{ref:e,className:"relative h-[250vh] z-30 bg-[#FAFAF9]",children:(0,t.jsxs)("div",{className:"sticky top-0 h-[100dvh] w-full overflow-hidden flex items-center justify-center",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[url('https://grainy-gradients.vercel.app/noise.svg')] opacity-[0.05] pointer-events-none z-0"}),(0,t.jsxs)(n.motion.div,{className:"w-full h-full relative flex items-center justify-center will-change-transform",style:{opacity:v,scale:w},children:[(0,t.jsx)(n.motion.div,{style:{scale:r,opacity:l},className:"absolute inset-0 flex items-center justify-center z-20 pointer-events-none will-change-transform",children:(0,t.jsxs)(n.motion.div,{style:{borderWidth:o},className:"relative w-[40vw] h-[40vw] max-w-[500px] max-h-[500px] border-black/80 rounded-full flex items-center justify-center bg-white/50 backdrop-blur-sm",children:[(0,t.jsx)("div",{className:"absolute inset-0 border-[1px] border-black/10 rounded-full scale-75"}),(0,t.jsx)("div",{className:"absolute inset-0 border-[1px] border-black/5 rounded-full scale-50"}),(0,t.jsx)("div",{className:"absolute top-0 bottom-0 w-[1px] bg-black/10"}),(0,t.jsx)("div",{className:"absolute left-0 right-0 h-[1px] bg-black/10"})]})}),(0,t.jsx)(n.motion.div,{style:{scale:m,opacity:u},className:"absolute inset-0 flex items-center justify-center z-10 will-change-transform",children:(0,t.jsx)(eh,{})}),(0,t.jsxs)("div",{className:"absolute inset-0 z-40 flex flex-col items-center justify-center pointer-events-none px-4 md:px-6",children:[(0,t.jsx)(n.motion.div,{style:{y:p,opacity:x},className:"absolute text-center bg-[#FAFAF9]/90 p-4 rounded-3xl will-change-transform",children:(0,t.jsxs)("h2",{className:"text-[5vw] md:text-[3vw] font-serif italic text-gray-400 leading-tight",children:["Your attention is the ",(0,t.jsx)("br",{})," last real currency..."]})}),(0,t.jsxs)(n.motion.div,{style:{scale:g,opacity:b,y:f},className:"absolute text-center flex flex-col items-center will-change-transform",children:[(0,t.jsxs)("h2",{className:"text-[10vw] md:text-[8vw] lg:text-[7vw] font-black tracking-tighter leading-[0.8] uppercase text-[#1A1A1A]",children:["Do not ",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-white drop-shadow-lg",children:"Give it away"})]}),(0,t.jsx)("p",{className:"text-[5vw] md:text-[2vw] font-bold tracking-[0.2em] uppercase mt-4 md:mt-8 text-[#1A1A1A]",children:"To noise on socials."})]})]})]})]})})};var eu=e.i(88694),ep=e.i(33596),ex=e.i(59309),eg=e.i(23749),eb=e.i(26164);let ef=Object.keys(eb.default).map(e=>({id:e,label:e})),ev=a.default.forwardRef(({item:e,isActive:s},a)=>(0,t.jsx)("div",{ref:a,className:"relative group flex-shrink-0 cursor-pointer h-full",children:(0,t.jsxs)("div",{className:(0,m.cn)("relative h-[55vh] md:h-[55vh] max-h-[550px] aspect-[2/3] bg-white rounded-r-[2rem] rounded-l-xl shadow-[2px_8px_20px_rgba(0,0,0,0.15)] transition-all duration-500 transform-gpu ring-1 ring-black/5","lg:group-hover:-translate-y-4 lg:group-hover:shadow-[10px_20px_40px_rgba(0,0,0,0.25)] lg:group-hover:rotate-[1deg] lg:group-hover:ring-black/10",s&&"-translate-y-4 shadow-[10px_20px_40px_rgba(0,0,0,0.25)] rotate-[1deg] ring-black/10"),children:[(0,t.jsx)("div",{className:"absolute inset-0 z-0 overflow-hidden rounded-r-[2rem] rounded-l-xl",children:(0,t.jsx)("img",{src:e.cover,alt:e.title,className:(0,m.cn)("w-full h-full object-cover backface-hidden transition-all duration-500","grayscale lg:group-hover:grayscale-0",s?"grayscale-0":"grayscale"),loading:"eager",decoding:"sync"})}),(0,t.jsx)("div",{className:"absolute left-0 top-0 bottom-0 w-[5%] bg-gradient-to-r from-black/40 via-black/10 to-transparent z-10 mix-blend-multiply pointer-events-none rounded-l-xl"}),(0,t.jsx)("div",{className:"absolute left-[5%] top-0 bottom-0 w-[1px] bg-black/10 z-20 pointer-events-none mix-blend-multiply"}),(0,t.jsx)("div",{className:"absolute left-[5.5%] top-0 bottom-0 w-[1px] bg-white/20 z-20 pointer-events-none"}),(0,t.jsx)("div",{className:(0,m.cn)("absolute inset-0 bg-gradient-to-tr from-white/0 via-white/5 to-white/0 transition-opacity duration-500 pointer-events-none z-30 mix-blend-overlay","opacity-0 lg:group-hover:opacity-100",s?"opacity-100":"opacity-0")})]})}));ev.displayName="LibraryBook";let ew=({item:e,isActive:s})=>(0,t.jsx)(ep.default,{href:`/book/${e.id}/${(0,eg.slugify)(e.title)}`,className:"block h-full",children:(0,t.jsx)(ev,{item:e,isActive:s})}),eF=({activeTopicId:e,onTopicChange:s,variant:a="desktop"})=>"mobile"===a?(0,t.jsx)("div",{className:"flex gap-2 overflow-x-auto no-scrollbar pb-2 px-section",children:ef.map(a=>(0,t.jsx)("button",{onClick:()=>s(a.id),className:(0,m.cn)("px-4 py-2 rounded-full border-2 text-sm font-bold whitespace-nowrap transition-colors",e===a.id?"bg-[#1A1A1A] border-[#1A1A1A] text-white":"bg-white border-black/10 text-[#1A1A1A]"),children:a.label},a.id))}):(0,t.jsx)("div",{className:"flex gap-3 flex-wrap max-w-2xl justify-end pb-2",children:ef.map(a=>(0,t.jsx)("button",{onClick:()=>s(a.id),onMouseEnter:()=>{var e;
1return e=a.id,void(eb.default[e]??[]).forEach(e=>{new Image().src=e.image})},className:(0,m.cn)("px-6 py-3 rounded-full border-[3px] text-lg font-bold transition-all hover:-translate-y-1 hover:shadow-md",e===a.id?"bg-[#1A1A1A] border-[#1A1A1A] text-white":"bg-white border-black/10 text-[#1A1A1A]"),children:a.label},a.id))}),ey=()=>{let[e,s]=(0,a.useState)(ef[0]?.id??""),i=(eb.default[e]??[]).map(e=>({id:e.id,cover:e.image,title:e.title,slug:e.slug})),r=(0,t.jsx)(ep.default,{href:"/topics",className:"inline-block group",children:(0,t.jsxs)("span",{className:"inline-flex flex-col items-start gap-2",children:[(0,t.jsx)("span",{children:"Browse all"}),(0,t.jsxs)("span",{className:"font-serif italic text-brand-orange inline-flex items-center gap-4",children:["Topics",(0,t.jsx)(ex.CustomArrow,{className:"w-12 h-12 md:w-16 md:h-16 lg:w-20 lg:h-20 transition-transform duration-300 group-hover:translate-x-2 group-hover:-translate-y-2"})]})]})});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p,{className:"text-[#1A1A1A]",title:r,headerActions:(0,t.jsx)(eF,{activeTopicId:e,onTopicChange:s,variant:"desktop"}),mobileHeaderActions:(0,t.jsx)(eF,{activeTopicId:e,onTopicChange:s,variant:"mobile"}),children:i.map((e,s)=>(0,t.jsx)(ew,{item:e},s))}),(0,t.jsx)("div",{"aria-hidden":"true",style:{display:"none"},children:ef.map(e=>(eb.default[e.id]??[]).map(s=>(0,t.jsx)("img",{src:s.image,alt:""},`${e.id}-${s.id}`)))})]})},ej={bg:"bg-white",text:"text-[#1A1A1A]",accent:"text-brand-orange",divider:"bg-black/10"},ek=[{label:"Downloads",value:"10M+",icon:"pulse"},{label:"App Store Rating",value:"#1 Microlearning App Worldwide",icon:"stars"},{label:"Books",value:"5K+"}],eA=({className:e,theme:s=ej,stats:i=ek})=>{let r=(0,a.useRef)(null),{scrollYProgress:l}=(0,d.useScroll)({target:r,offset:["start end","end start"]}),o=(0,c.useSpring)(l,{stiffness:100,damping:25,mass:1}),u=(0,h.useTransform)(o,[0,1],[20,-20]);return(0,t.jsx)("section",{ref:r,className:(0,m.cn)("w-full relative z-20 py-24 overflow-hidden",e),children:(0,t.jsx)(n.motion.div,{style:{y:u},className:"px-section mb-16",children:(0,t.jsx)("div",{className:(0,m.cn)("flex flex-col xl:flex-row items-center justify-between gap-8 xl:gap-4 2xl:gap-12 border-[3px] border-black/10 py-12 lg:py-16 relative z-10 rounded-[32px] shadow-soft-lg px-6 lg:px-8 2xl:px-0 overflow-hidden",s.bg),children:i.map((e,r)=>(0,t.jsxs)(a.default.Fragment,{children:[r>0&&(0,t.jsx)("div",{className:(0,m.cn)("w-32 h-[3px] xl:w-[3px] xl:h-32 block rounded-full shrink-0",s.divider)}),(0,t.jsxs)("div",{className:(0,m.cn)("flex-1 text-center w-full xl:w-auto min-w-0","stars"===e.icon&&"xl:flex-[1.5]",0===r&&"xl:text-left xl:pl-8 2xl:pl-20",r===i.length-1&&"xl:text-right xl:pr-8 2xl:pr-20"),children:["pulse"===e.icon&&(0,t.jsxs)("div",{className:"flex items-center justify-center xl:justify-start gap-4 mb-2",children:[(0,t.jsx)("div",{className:(0,m.cn)("w-4 h-4 rounded-full animate-pulse",s.accent.replace("text-","bg-"))}),(0,t.jsx)("span",{className:"font-mono text-sm font-bold uppercase tracking-widest text-gray-500",children:e.label})]}),"stars"===e.icon&&(0,t.jsx)("div",{className:"flex items-center justify-center gap-1 mb-4",children:[1,2,3,4,5].map(e=>(0,t.jsx)(G.Star,{size:24,fill:"currentColor",className:s.text,strokeWidth:0},e))}),!e.icon&&(0,t.jsx)("div",{className:"font-mono text-sm font-bold uppercase tracking-widest text-gray-500 mb-2",children:e.label}),(0,t.jsx)("p",{className:(0,m.cn)("font-black tracking-tighter leading-[0.85]","stars"===e.icon?"text-[1.75rem] md:text-3xl xl:text-3xl 2xl:text-5xl uppercase max-w-sm xl:max-w-full mx-auto leading-[1.1]":"text-6xl xl:text-6xl 2xl:text-8xl truncate",s.text),children:e.value.includes("+")?(0,t.jsxs)(t.Fragment,{children:[e.value.replace("+",""),(0,t.jsx)("span",{className:s.accent,children:"+"})]}):e.value})]})]},e.label))})})})},eN=(0,L.default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);var eE=e.i(40988),e_=e.i(37242);let eC=(0,L.default)("camera",[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]),eB=()=>(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden bg-Coral-200",children:(0,t.jsxs)("div",{className:"relative w-full h-full flex flex-col items-center justify-center",children:[[1,2,3].map(e=>(0,t.jsx)(n.motion.div,{initial:{y:-200,opacity:0,rotate:0},animate:{y:200,opacity:[0,1,0],rotate:180},transition:{duration:3,repeat:1/0,delay:.8*e,ease:"easeIn"},className:"absolute w-16 h-16 border-[4px] border-black bg-white rounded-xl z-10"},e)),(0,t.jsx)(n.motion.div,{animate:{scale:[1,1.1,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"},className:"w-[80%] aspect-[2/1] bg-[#1A1A1A] rounded-full border-[6px] border-black shadow-2xl relative z-0 translate-y-20 flex items-center justify-center",children:(0,t.jsx)(eN,{
1className:"text-white animate-bounce",size:48,strokeWidth:3})})]})}),eD=()=>(0,t.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden bg-[#1A1A1A]",children:[(0,t.jsx)(n.motion.div,{animate:{x:["-100%","0%"]},transition:{duration:4,repeat:1/0,repeatType:"mirror",ease:"easeInOut"},className:"absolute inset-0 bg-[#FAFAF9] flex items-center justify-center",style:{clipPath:"polygon(0 0, 100% 0, 50% 100%, 0 100%)"},children:(0,t.jsx)("div",{className:"text-[20vw] font-serif italic text-[#1A1A1A]",children:"A"})}),(0,t.jsx)(n.motion.div,{animate:{x:["100%","0%"]},transition:{duration:4,repeat:1/0,repeatType:"mirror",ease:"easeInOut"},className:"absolute inset-0 bg-[#1A1A1A] flex items-center justify-center mix-blend-difference"}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none",children:(0,t.jsx)("div",{className:"text-[20vw] font-serif italic text-white mix-blend-difference",children:"a"})})]}),eT=()=>(0,t.jsx)("div",{className:"absolute inset-0 flex items-end justify-center overflow-hidden bg-Steel-100 pb-4",children:(0,t.jsxs)("div",{className:"relative w-full flex flex-col items-center justify-end h-full scale-90 origin-bottom",children:[(0,t.jsx)(n.motion.div,{animate:{y:[0,-10,0]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},className:"w-20 h-20 rounded-full border-[4px] border-black bg-white flex items-center justify-center relative z-30 -mb-4 shadow-lg",children:(0,t.jsx)(e_.Mic,{size:32})}),(0,t.jsx)(n.motion.div,{className:"w-32 h-[100px] rounded-3xl border-[4px] border-black bg-brand-yellow flex items-center justify-center relative z-20 -mb-6 shadow-lg rotate-3",children:(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("div",{className:"w-16 h-2 bg-black/10 rounded-full"}),(0,t.jsx)("div",{className:"w-10 h-2 bg-black/10 rounded-full"})]})}),(0,t.jsx)(n.motion.div,{className:"w-40 h-[120px] rounded-t-3xl border-[4px] border-black bg-brand-orange flex items-center justify-center relative z-10 shadow-lg -rotate-2",children:(0,t.jsx)(eE.BookOpen,{size:48,className:"text-white opacity-80"})})]})}),eS=()=>(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden bg-Lime-100",children:(0,t.jsx)("div",{className:"relative w-full h-full flex items-center justify-center translate-y-[10%]",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,t.jsx)("div",{className:"w-24 h-24 bg-white border-[6px] border-black rounded-tl-[2rem] rounded-tr-xl rounded-bl-xl rounded-br-xl shadow-[6px_6px_0px_rgba(0,0,0,0.1)]"}),(0,t.jsx)("div",{className:"w-24 h-24 bg-white border-[6px] border-black rounded-tr-[2rem] rounded-tl-xl rounded-bl-xl rounded-br-xl shadow-[6px_6px_0px_rgba(0,0,0,0.1)]"}),(0,t.jsx)("div",{className:"w-24 h-24 bg-white border-[6px] border-black rounded-bl-[2rem] rounded-tl-xl rounded-tr-xl rounded-br-xl shadow-[6px_6px_0px_rgba(0,0,0,0.1)]"}),(0,t.jsx)(n.motion.div,{animate:{x:[60,0,0,60],y:[60,0,0,60],rotate:[15,0,0,15],scale:[.8,1,1,.8]},transition:{duration:3,times:[0,.2,.8,1],repeat:1/0,ease:"easeInOut",repeatDelay:1},className:"w-24 h-24 bg-brand-orange border-[6px] border-black rounded-br-[2rem] rounded-tl-xl rounded-tr-xl rounded-bl-xl shadow-[6px_6px_0px_rgba(0,0,0,1)] relative z-10 flex items-center justify-center",children:(0,t.jsx)("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)(n.motion.path,{d:"M20 6L9 17l-5-5",initial:{pathLength:0,opacity:0},animate:{pathLength:1,opacity:1},transition:{duration:.5,delay:.2,repeat:1/0,repeatDelay:3.5}})})})]})})}),ez=()=>{let[e,s]=a.default.useState(0);return a.default.useEffect(()=>{let e=setInterval(()=>{s(e=>(e+1)%2)},3e3);return()=>clearInterval(e)},[]),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden bg-Violet-100",children:(0,t.jsxs)("div",{className:"w-full h-full relative flex items-center justify-center translate-y-[15%]",children:[[1,2,3].map(e=>
1(0,t.jsx)(n.motion.div,{initial:{scale:.5,opacity:0},animate:{scale:[.5,2],opacity:[0,.5,0]},transition:{duration:3,times:[0,.2,1],repeat:1/0,delay:e,ease:"easeOut",repeatType:"loop"},className:"absolute w-40 h-40 border-[4px] border-black/20 rounded-full"},e)),(0,t.jsxs)(n.motion.div,{animate:{y:[0,-10,0]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},className:"w-40 h-64 bg-[#1A1A1A] rounded-[2.5rem] border-[8px] border-black flex flex-col items-center justify-center shadow-2xl relative z-10 p-6",children:[(0,t.jsxs)("div",{className:"relative w-16 h-16 flex items-center justify-center",children:[(0,t.jsx)(n.motion.div,{animate:{opacity:+(0===e),scale:0===e?1:.8},transition:{duration:.4,ease:"easeInOut"},className:"absolute text-white",children:(0,t.jsx)(eE.BookOpen,{size:64,strokeWidth:2.5})}),(0,t.jsx)(n.motion.div,{animate:{opacity:+(1===e),scale:1===e?1:.8},transition:{duration:.4,ease:"easeInOut"},className:"absolute text-white",children:(0,t.jsx)(e_.Mic,{size:64,strokeWidth:2.5})})]}),(0,t.jsx)("div",{className:"absolute bottom-10 w-12 h-1.5 bg-white/20 rounded-full"})]})]})})},eM=()=>(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center overflow-hidden bg-Mustard-100",children:(0,t.jsxs)("div",{className:"relative w-full h-full flex items-center justify-center translate-y-[15%]",children:[(0,t.jsxs)(n.motion.div,{className:"w-48 h-64 bg-white border-[6px] border-black rounded-r-xl shadow-lg flex flex-col p-6 gap-3",children:[(0,t.jsx)("div",{className:"w-full h-4 bg-black/10 rounded-full"}),(0,t.jsx)("div",{className:"w-2/3 h-4 bg-black/10 rounded-full"}),(0,t.jsx)("div",{className:"w-full h-4 bg-black/10 rounded-full"}),(0,t.jsx)("div",{className:"w-full h-24 bg-brand-orange/10 border-2 border-dashed border-black/20 rounded-lg mt-auto"})]}),(0,t.jsxs)(n.motion.div,{animate:{y:[-120,120,-120]},transition:{duration:4,repeat:1/0,ease:"easeInOut"},className:"absolute w-64 h-24 border-[8px] border-brand-orange rounded-2xl z-20 flex items-center justify-center bg-brand-orange/10 backdrop-blur-[2px]",children:[(0,t.jsx)("div",{className:"absolute inset-x-0 top-1/2 h-1 bg-brand-orange shadow-[0_0_15px_rgba(244,63,94,0.5)]"}),(0,t.jsx)(eC,{className:"text-brand-orange",size:40,strokeWidth:3})]})]})});var eI=e.i(968);let eP=({children:e,className:s})=>(0,t.jsx)("div",{className:(0,m.cn)("relative left-1/2 w-screen -translate-x-1/2",s),children:e}),eL=()=>{(({imageSources:e})=>{let t=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let s,a;t.current||(s=0,a=0,e.forEach(e=>{let t=new Image;t.src=e,t.onload=()=>{s++},t.onerror=()=>{a++}}),t.current=!0)},[e])})({imageSources:F.ALL_IMAGES});let e=(0,a.useRef)(null),n=function(e,{root:t,margin:s,amount:l,once:o=!1,initial:n=!1}={}){let[d,c]=(0,a.useState)(n);return(0,a.useEffect)(()=>{if(!e.current||o&&d)return;let a={root:t&&t.current||void 0,margin:s,amount:l};return function(e,t,{root:s,margin:a,amount:l="some"}={}){let o=(0,i.resolveElements)(e),n=new WeakMap,d=new IntersectionObserver(e=>{e.forEach(e=>{let s=n.get(e.target);if(!!s!==e.isIntersecting)if(e.isIntersecting){let s=t(e.target,e);"function"==typeof s?n.set(e.target,s):d.unobserve(e.target)}else"function"==typeof s&&(s(e),n.delete(e.target))})},{root:s,rootMargin:a,threshold:"number"==typeof l?l:r[l]});return o.forEach(e=>d.observe(e)),()=>d.disconnect()}(e.current,()=>(c(!0),o?void 0:()=>c(!1)),a)},[t,e,s,o,l]),d}(e,{margin:"-20% 0px -20% 0px"}),d=[{title:"Replace mindless scrolling",description:"Your phone becomes a tool for growth, not distraction.",bgColor:"bg-Coral-50",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eI.MindlessScrollingVisual,{}),detailText:(0,t.jsxs)("p",{children:["We live in an attention economy designed to keep you addicted."," ",(0,t.jsx)("b",{children:"Reclaim your agency"})," by transforming your device into a portal for growth. Every swipe becomes a step toward a ",(0,t.jsx)("i",{children:"sharper mind"}),"."]})},{title:"Start connecting dots",description:"Ideas from different fields suddenly click together.",bgColor:"bg-Violet-50",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eI.ConnectingDotsVisual,{}),detailText:(0,t.jsxs)("p",{children:["True intelligence isn't just knowing factsâit's synthesis. Expose yourself to diverse mental models from"," ",(0,t.jsx)("b",{children:"psychology, history, and science"}),", and the chaotic noise of the world organizes itself into clear, ",(0,t.jsx)("i",{children:"actionable patterns"}),"."]})},{title:'Become the "interesting person"',description:"People ask where you get your cool insights.",bgColor:"bg-Mustard-50",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eI.InterestingPersonVisual,{}),detailText:(0,t.jsxs)("p",{children:["In a world of shallow takes and echo chambers,"," ",(0,t.jsx)("b",{children:"depth is a superpower"}),". Dominate conversations with unique perspectives and ancient wisdom. Be the one who brings"," ",(0,t.jsx)("i",{children:"light to the room"}),", not just another opinion."]})},{title:"Confidence boost from continuous growth",description:"You feel smarter and more intellectually capable.",bgColor:"bg-Lime-50",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eI.ConfidenceVisual,{}),detailText:(0,t.jsxs)("p",{children:["There is a quiet confidence that c
1omes from knowing you are"," ",(0,t.jsx)("b",{children:"evolving every day"}),". It's not arrogance; it's the certainty that you have the tools to navigate whatever challenges life throws at you."," ",(0,t.jsx)("i",{children:"Competence creates confidence."})]})},{title:"Enhanced curiosity muscle",description:"You naturally ask better questions and seek deeper understanding.",bgColor:"bg-Turquoise-50",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eI.CuriosityVisual,{}),detailText:(0,t.jsxs)("p",{children:["Curiosity is the engine of human progress, yet modern life dulls it."," ",(0,t.jsx)("b",{children:"Reignite your childlike wonder"}),'. Stop accepting things at face value and start asking "why" with an appetite for truth that transforms the mundane into the ',(0,t.jsx)("i",{children:"miraculous"}),"."]})},{title:"Decision-making improvements",description:"You have more mental frameworks to draw from.",bgColor:"bg-Rose-50",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eI.DecisionMakingVisual,{}),detailText:(0,t.jsxs)("p",{children:["Bad decisions stem from limited perspective. Build a latticework of"," ",(0,t.jsx)("b",{children:"mental models"}),", from Occam's Razor to First Principles, and cut through uncertainty. Make choices with the precision of a grandmaster!"]})}],c=[{title:"Own knowledge library",description:"Your digital brain, organized.",bgColor:"bg-Coral-200",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eB,{}),detailText:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mb-4",children:["Stop losing great ideas. ",(0,t.jsx)("b",{children:"Deepstash is your permanent home"})," for every insight that resonates."]}),(0,t.jsx)("p",{children:"Build a personal archive of wisdom that grows as you do, accessible whenever you need that perfect insight."})]})},{title:"Read comfortably.",bgColor:"bg-[#1A1A1A]",textColor:"text-white",image:(0,t.jsx)(eD,{}),detailText:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mb-4",children:["Switch to our award-winning ",(0,t.jsx)("b",{children:"dark mode"})," for late-night reading sessions."]}),(0,t.jsx)("p",{children:"It's easy on your eyes and helps you focus."})]})},{title:"Access to 200,000+ ideas",description:"The world's best wisdom, distilled.",bgColor:"bg-Steel-100",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eT,{}),detailText:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mb-4",children:["Dive into a massive ocean of ",(0,t.jsx)("b",{children:"collective knowledge"}),"."]}),(0,t.jsxs)("p",{children:["From philosophy to productivity, we've distilled the key insights from 200,000+ sources so you can"," ",(0,t.jsx)("i",{children:"learn at the speed of thought"}),"."]})]})},{title:"Personalized growth plan",description:"A tailored path for your evolution.",bgColor:"bg-Lime-100",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eS,{}),detailText:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mb-4",children:["Your intellectual journey shouldn't be random."," ",(0,t.jsx)("b",{children:"Deepstash curates a custom path"})," based on your unique interests and goals."]}),(0,t.jsxs)("p",{children:["Helping you master the topics that matter most to you,"," ",(0,t.jsx)("i",{children:"every single day"}),"."]})]})},{title:"Read & listen anywhere",description:"Wisdom that follows you.",bgColor:"bg-Violet-100",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(ez,{}),detailText:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mb-4",children:["Knowledge has no boundaries. ",(0,t.jsx)("b",{children:"Sync your library"})," across all devices and switch seamlessly between reading and listening."]}),(0,t.jsx)("p",{children:"Your classroom is wherever you areâon the train, in the gym, or in bed."})]})},{title:"Scan books",description:"Digitize your physical library.",bgColor:"bg-Mustard-100",textColor:"text-[#1A1A1A]",image:(0,t.jsx)(eM,{}),detailText:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"mb-4",children:["Bridge the gap between analog and digital. ",(0,t.jsx)("b",{children:"Use your camera"})," to turn physical pages into searchable, actionable digital insights."]}),(0,t.jsx)("p",{children:"Your bookshelf just got a brain. Never lose a highlight from a physical book again."})]})}],h=()=>{window.location.href=s.LINKS.GROWTH_PLAN};return(0,t.jsxs)("div",{className:"font-sans selection:bg-brand-orange selection:text-white relative min-h-screen bg-[#FAFAF9]",children:[(0,t.jsx)("div",{className:"fixed inset-0 pointer-events-none z-[100] opacity-[0.03] mix-blend-overlay will-change-transform",style:{backgroundImage:'url("https://grainy-gradients.vercel.app/noise.svg")'}}),(0,t.jsx)(o.Navbar,{shouldHideNav:n}),(0,t.jsxs)("main",{className:"relative w-full flex flex-col",children:[(0,t.jsxs)(eP,{children:[(0,t.jsx)(z,{onPrimaryCtaCl
1ick:h,onSecondaryCtaClick:h}),(0,t.jsx)("div",{ref:e,children:(0,t.jsx)(ed,{})})]}),(0,t.jsx)(eA,{}),(0,t.jsx)(eP,{children:(0,t.jsx)(em,{})}),(0,t.jsx)(p,{className:"text-[#1A1A1A]",title:(0,t.jsxs)(t.Fragment,{children:["Knowledge, ",(0,t.jsx)("br",{})," ",(0,t.jsx)("span",{className:"text-brand-orange",children:"simplified."})]}),children:d.map((e,s)=>(0,t.jsx)(x.ParallaxCard,{card:e,index:s},s))}),(0,t.jsx)(ey,{}),(0,t.jsx)(p,{className:"text-[#1A1A1A]",title:(0,t.jsxs)(t.Fragment,{children:["Your mind is ",(0,t.jsx)("br",{className:"hidden lg:block"})," your"," ",(0,t.jsx)("span",{className:"italic font-serif text-brand-orange",children:"greatest asset."})]}),children:c.map((e,s)=>(0,t.jsx)(x.ParallaxCard,{card:e,index:s},s))}),(0,t.jsx)(ec.PlansSection,{onPlanClick:e=>{"basic"===e.id?window.location.href=s.LINKS.GROWTH_PLAN:"pro"===e.id&&(window.location.href=s.LINKS.PRO_PLAN)}}),(0,t.jsx)(eu.TestimonialSection,{}),(0,t.jsx)(b.FAQSection,{}),(0,t.jsx)(g.ExploreLibrary,{}),(0,t.jsx)(l.Footer,{onAppStoreClick:()=>{window.location.href=s.LINKS.APPLE_STORE},onGooglePlayClick:()=>{window.location.href=s.LINKS.GOOGLE_PLAY}})]})]})};e.s(["Home",0,eL,"HomeContentPage",0,eL],9576)}]);
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.