1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[526610,717433,59508,421324],{678430:function(e,t,a){"use strict";var l,r,n,i,o,s,c,d,u,h,p,m,v,f,g,E,_,x,A,y,N,w,b,L,C,k,S,T,P,j,D,O,M,I,z,H,R,G,F,B,Z,U,K,V,W,q,$=a(44194);function J(){return(J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}t.Z=function(e){return $.createElement("svg",J({width:241,height:230,viewBox:"0 0 241 230",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l||(l=$.createElement("path",{d:"M142.3 67.8l94 9.2-21 32.1-93.8-9.8 20.8-31.5z",fill:"#C68344"})),r||(r=$.createElement("path",{d:"M8.2 78.9l93.5-10.3 19.8 30.7-94.2 9.8L8.2 79z",fill:"#D89649"})),n||(n=$.createElement("path",{d:"M117.9 122.7l-90.6-13.6 94.2-9.8 93.8 9.8-97.4 13.6z",fill:"#B5813E"})),i||(i=$.createElement("path",{d:"M141.3 40.1a4.7 4.7 0 014.7-4.7h11a4.8 4.8 0 014.8 4.7l.4 90.8a4.7 4.7 0 01-4.7 4.7h-11a4.8 4.8 0 01-4.7-4.7l-.5-90.8z",fill:"#4749F7"})),o||(o=$.createElement("path",{opacity:.1,d:"M151.2 135.6h-4.7a4.8 4.8 0 01-4.7-4.7l-.5-90.8a4.7 4.7 0 014.8-4.7h4.7A4.7 4.7 0 00146 40l.5 90.8a4.8 4.8 0 004.7 4.7z",fill:"#231F20"})),s||(s=$.createElement("path",{d:"M155 47.8h-13.6v1.4H155v-1.4zM146.6 44.7h-5.3v1.4h5.3v-1.4zM146.7 50.7h-5.3v1.4h5.3v-1.4z",fill:"#9E9EA6"})),c||(c=$.createElement("path",{d:"M153.1 90.4l-1-.4-1.3-.5-1.3-.5v.5l.6.2.7.3v2.2l-.6.3-.7.2v.5l1.4-.5 1.1-.5 1.1-.4 1-.5V91l-1-.5zm-.6 1.2l-1.3.5v-2l1.3.5 1.1.5-1.1.5zm.5-3.3a17.1 17.1 0 01-2-.7l-1-.4 1-.4 1-.4 1-.4c.3 0 .7-.2 1.1-.4v-.5l-1.5.6-1.2.4-1 .4-1 .5v.4a43.5 43.5 0 002 .8l1.2.5 1.6.5v-.5l-1.2-.4zm1.1-5.3l-1-.5-1.1-.4-1.2-.5-1.4-.5v.5l.7.2.6.3v2.3l-.6.2-.6.2v.5A87.8 87.8 0 00153 84l1-.5V83zm-1.7.7l-1.3.5v-2l1.3.5 1.2.5-1.2.5zM151 80c-.3 0-.6 0-.9-.3a1 1 0 01-.3-.7v-.3a3.1 3.1 0 01.2-.5l.2-.2-.4-.2-.1.2-.2.2a1.9 1.9 0 00-.1.8l.1.7c0 .2.2.3.4.5l.5.2H154V80h-3.2z",fill:"#fff"})),d||(d=$.createElement("path",{d:"M121 4.7a4.8 4.8 0 014.8-4.7h10.8a4.7 4.7 0 014.7 4.7l-.7 126.2a4.8 4.8 0 01-4.8 4.7H125a4.7 4.7 0 01-4.7-4.7L121 4.7z",fill:"#E30B39"})),u||(u=$.createElement("path",{opacity:.1,d:"M128.8 135.6H125a4.7 4.7 0 01-4.7-4.7L121 4.8a4.8 4.8 0 014.7-4.8h3.9a4.8 4.8 0 00-4.8 4.8l-.7 126.1a4.7 4.7 0 004.7 4.7z",fill:"#231F20"})),h||(h=$.createElement("path",{d:"M137.7 12.6h-13.6a.7.7 0 01-.5-1.1c.1-.2.3-.2.5-.2h13.6a.7.7 0 01.4 1.1l-.4.2zM137.5 125.5h-13.6a.7.7 0 01-.7-.6.7.7 0 01.2-.5.7.7 0 01.5-.2h13.6a.7.7 0 01.5.2.7.7 0 01.2.7.7.7 0 01-.4.4h-.3zM137.5 121.1H124c-.2 0-.3 0-.4-.2a.7.7 0 01.4-1.1h13.6a.7.7 0 01.5.2.7.7 0 01.2.7.7.7 0 01-.4.4h-.3zM137.7 16.3H124a.7.7 0 01-.5-1.1l.5-.2h13.6a.7.7 0 110 1.3z",fill:"#2E2E42"})),p||(p=$.createElement("path",{d:"M130.9 76.3l-.2.4.2.9c0 .2-.1.5-.3.7a.9.9 0 01-.7.3 1 1 0 01-.8-.3 1 1 0 01-.2-.7V77l.5-.6-.5-.3c-.2.1-.3.4-.4.6l-.2.9c0 .3 0 .6.2.8.1.3.3.5.5.6l.9.3c.3 0 .5 0 .8-.2l.5-.5.2-.8c0-.3 0-.6-.2-.8l1.4.1v1.8l.6.1v-2.5l-2.3-.2zm-2.5-5.3v2.8h.5v-2.1h4.3V71h-4.8zm4.8-5.9l-4.8-.6v.7l4 .4-4 1.3v.7l4 1.3-4 .5v.6l4.8-.6v-.8l-3.8-1.3 3.8-1.4v-.8zm-.5-4.4v1.5h-4.3v.6h4.3v1.4h.5v-3.5h-.5zm.6-3.7v-.6h-4.8v.6h2.2v2.5h-2.2v.6h4.8v-.6h-2V57h2z",fill:"#fff"})),m||(m=$.createElement("path",{d:"M162.3 40.2a4.7 4.7 0 014.7-4.7h11a4.8 4.8 0 014.8 4.7l.2 90.7a4.7 4.7 0 01-4.7 4.7h-11a4.8 4.8 0 01-4.8-4.7l-.2-90.7z",fill:"#FFAC00"})),v||(v=$.createElement("path",{opacity:.1,d:"M171 135.6h-3.7a4.7 4.7 0 01-4.8-4.7l-.2-90.7a4.7 4.7 0 014.7-4.7h3.9a4.7 4.7 0 00-4.8 4.7l.2 90.7a4.8 4.8 0 004.8 4.7z",fill:"#231F20"})),f||(f=$.createElement("path",{d:"M162.2 50.6h11.6a.7.7 0 00.5-1.1.7.7 0 00-.5-.2h-11.6v1.3zM162.4 121.8H174a.7.7 0 00.6-.6.7.7 0 00-.6-.7h-11.6v1.3z",fill:"#3D3D50"})),g||(g=$.createElement("path",{d:"M172.7 90.8v-2h-.5v2H170v.5h2.2v2h.5v-2h2.1v-.5h-2zm2.1-5.3h-2.1v-2h-.5v2H170v.6h2.2v2h.5v-2h2.1v-.6zm.9-6.5l-1-1-1.6-.2h-.9a4 4 0 00-1.6.3 2.3 2.3 0 00-1.4 2.2c0 .6.2 1.2.6 1.6.4.5 1 .8 1.6.8v-.6a2 2 0 01-1.3-.5c-.3-.4-.4-.9-.4-1.3a1.7 1.7 0 01.7-1.5 3 3 0 011.8-.5h.8a3 3 0 011.9.6 1.8 1.8 0 01.7 1.4c0 1-.6 1.7-1.7 1.8v.6c.6 0 1.1-.3 1.6-.7.4-.5.6-1 .5-1.7 0-.5 0-1-.3-1.3z",fill:"#000"})),E||(E=$.createElement("path",{d:"M88.7 24a4.7 4.7 0 014.7-4.8h21.9a4.8 4.8 0 014.7 4.7l.3 107a4.7 4.7 0 01-4.8 4.7H93.7a4.8 4.8 0 01-4.8-4.7l-.2-107z",fill:"#88F"})),_||(_=$.createElement("path",{opacity:.1,d:"M99.5 135.6h-5.8a4.8 4.8 0 01-4.8-4.7l-.2-107a4.7 4.7 0 014.7-4.7h5.9a4.7 4.7 0 00-4.8 4.7l.3 107a4.8 4.8 0 004.7 4.7z",fill:"#231F20"})),x||(x=$.createElement("g",{opacity:.5,fill:"#fff"},$.createElement("path",{opacity:.5,d:"M114.3 36.8H94a.7.7 0 110-1.4h20.4a.7.7 0 01.7 1 .7.7 0 01-.7.4zM114.3 39.5H94a.7.7 0 010-1.3h20.4a.7.7 0 01.5 1.1c-.1.2
1-.3.2-.5.2zM114.3 42.2H94a.7.7 0 110-1.3h20.4a.7.7 0 01.7.7.7.7 0 01-.7.6zM115 119.4H94.6a.7.7 0 01-.6-.7.7.7 0 01.6-.6H115a.7.7 0 01.7.4.7.7 0 01-.7 1zM115 116.9H94.6a.7.7 0 010-1.4H115a.7.7 0 01.7.4.7.7 0 01-.7 1zM115 114.2H94.6a.7.7 0 010-1.4H115a.7.7 0 010 1.4z"}))),A||(A=$.createElement("path",{d:"M109.3 81.6V81l-2.7-.6v-2h-.7v2l-2.9-.6V78h-.6v1.7l-2.7-.5v.6l2.7.5v2.1l-2.7-.5v.7l2.7.5v1.8h.6v-1.7l3 .5v1.7h.5v-1.5l2.8.5v-.7l-2.8-.5v-2l2.8.4zm-3.4 1.5l-2.9-.6v-2l3 .5v2zm3-11.9c-.4-.6-1-1-1.6-1.3-.7-.3-1.5-.4-2.2-.4h-1.3a5.9 5.9 0 00-2.2.5 3.4 3.4 0 00-2 3.1c-.1 1 .2 1.8.7 2.5.6.6 1.5 1 2.4 1v-.8a3 3 0 01-1.9-.8c-.4-.4-.6-1-.6-1.9a2.5 2.5 0 011-2c.5-.4 1-.6 1.7-.7h2.1c1.2 0 2.1.2 2.8.7a2.6 2.6 0 011 2c0 1.6-.8 2.5-2.4 2.7h-.1v.8a4 4 0 002.3-1c.6-.6.8-1.4.8-2.4 0-.7-.2-1.4-.5-2z",fill:"#fff"})),y||(y=$.createElement("path",{d:"M183 24a4.7 4.7 0 014.7-4.8h21.9a4.8 4.8 0 014.7 4.7l.3 107a4.7 4.7 0 01-4.8 4.7H188a4.8 4.8 0 01-4.8-4.7l-.2-107z",fill:"#51DDC2"})),N||(N=$.createElement("path",{opacity:.1,d:"M193.8 135.6H188a4.8 4.8 0 01-4.8-4.7l-.2-107a4.7 4.7 0 014.7-4.7h5.8a4.7 4.7 0 00-4.7 4.7l.2 107a4.8 4.8 0 004.8 4.7z",fill:"#231F20"})),w||(w=$.createElement("path",{opacity:.8,d:"M209.5 36.8h-20.4a1.4 1.4 0 010-2.7h20.4a1.4 1.4 0 010 2.7zM209.5 42.2h-20.4a1.4 1.4 0 110-2.7h20.4a1.4 1.4 0 010 2.7zM209.5 118h-20.4a1.4 1.4 0 110-2.7h20.4a1.4 1.4 0 110 2.8zM209.5 123.5h-20.4a1.4 1.4 0 01-1-2.3c.3-.2.6-.4 1-.4h20.4a1.4 1.4 0 011.3 1.4 1.4 1.4 0 01-1.3 1.3z",fill:"#BFBFC4"})),b||(b=$.createElement("path",{d:"M204.6 93.2v-7.4h-.7V89h-9v.8h9v3.3h.7zm-9.7-14.6v.8h4v2.8l-4 2.3v.9l4.2-2.4c.1.5.5 1 1 1.4.4.4 1 .6 1.6.6a2.6 2.6 0 002-1c.6-.5.8-1.3.8-2.3v-3.1H195zm9 3c0 .7-.2 1.4-.6 1.9a2 2 0 01-1.6.6 2 2
10 01-1.5-.6c-.4-.4-.6-1-.6-1.6v-2.5h4.2v2.3zm-9-12.5v.8l2.7 1v4.4l-2.7 1v.9l8.8-3.4.8-.3v-.8l-9.6-3.6zm3.4 6v-3.9l5.2 1.9-1.4.5-3.8 1.4zm6.2-13.7h-9.6V64c0 .8.1 1.5.5 2.2.4.6.9 1.1 1.5 1.4.8.4 1.5.6 2.3.6h1c.7 0 1.5-.2 2.2-.6.7-.3 1.2-.8 1.6-1.4.3-.7.5-1.4.5-2.1v-2.7zm-.7 2.7a3 3 0 01-1 2.4c-.7.6-1.7 1-2.7.9h-.8c-1 0-2-.3-2.8-1a3.2 3.2 0 01-1-2.4v-1.8h8.3V64z",fill:"#fff"})),L||(L=$.createElement("path",{d:"M68.4 4.7A4.8 4.8 0 0173 0H84a4.7 4.7 0 014.7 4.7L88 131a4.8 4.8 0 01-4.8 4.7H72.3a4.7 4.7 0 01-4.7-4.7l.8-126.2z",fill:"#51DDC2"})),C||(C=$.createElement("path",{opacity:.1,d:"M76.3 135.6h-4a4.7 4.7 0 01-4.7-4.7l.8-126.2A4.8 4.8 0 0173 0h4a4.8 4.8 0 00-4.8 4.7L71.6 131a4.7 4.7 0 004.7 4.7z",fill:"#231F20"})),k||(k=$.createElement("path",{d:"M71.4 12.1c-.2 0-.4-.3-.4-.7 0-.3.2-.6.4-.6H85c.3 0 .5.3.5.6 0 .4-.2.7-.5.7H71.4zM84.5 124.9H71.3c-.3 0-.5-.3-.5-.7 0-.4.2-.7.5-.7h13.2c.2 0 .4.3.4.7 0 .4-.2.7-.4.7zM84.5 121H71.3c-.2 0-.4-.3-.4-.7 0-.4.2-.7.4-.7h13.2c.3 0 .5.3.5.7 0 .4-.2.7-.5.7zM85 15.7H71.4c-.2 0-.4-.3-.4-.7 0-.4.2-.7.4-.7H85c.3 0 .5.3.5.7 0 .4-.2.7-.5.7z",fill:"#2E2E42"})),S||(S=$.createElement("path",{d:"M80 74v1.4h-4.3v.7H80v1.4h.5V74H80zm.3-3c0-.2-.2-.3-.3-.4-.4-.4-1-.6-1.8-.6s-1.4.2-1.9.6c-.2.2-.4.5-.5.9l-.1.7v.8l.3.6.5-.2c-.2-.3-.3-.7-.3-1.1 0-.4.1-.7.3-1l.2-.2a2.8 2.8 0 012.8 0 1.3 1.3 0 01.5 1 1.3 1.3 0 01-.5 1.1l.4.5a1.8 1.8 0 00.7-1.5c0-.5 0-.9-.3-1.2zm-4.5-5.5v.7l1.4.5v1.8l-1.4.6v.6l4.8-1.7V67l-4.8-1.6zm2 2.9v-1.5l2 .7-2 .8zm-2-6.2V65h.6v-2.3H78v2h.5v-2h1.5V65h.5v-2.8h-4.8zm0-4v.6h2v.7l-2 1.2v.7l2-1.2c.1.3.3.6.5.7l.9.3a1.3 1.3 0 001-.4c.3-.4.4-.8.4-1.3v-1.4h-4.8zm4.3 1.3c0 .3-.1.6-.3.8a.8.8 0 01-.6.2.9.9 0 01-.7-.2l-.2-.8v-.7h1.8v.7z",fill:"#fff"})),T||(T=$.createElement("path",{d:"M47.1 130.9a4.7 4.7 0 01-4.7 4.7h-11a4.8 4.8 0 01-4.7-4.7v-12.4l-.4-65.8V40.1a4.7 4.7 0 014.7-4.7h11a4.8 4.8 0 014.7 4.7l.4 90.8z",fill:"#4749F7"})),P||(P=$.createElement("path",{opacity:.1,d:"M35.2 135.6h-3.7a4.8 4.8 0 01-4.8-4.7l-.4-90.8a4.7 4.7 0 014.7-4.7h3.7A4.7 4.7 0 0030 40l.4 90.8a4.8 4.8 0 004.8 4.7z",fill:"#231F20"})),j||(j=$.createElement("path",{opacity:.3,d:"M39.9 49a.7.7 0 01-.7.7h-13v-1.4h13a.7.7 0 01.7.7z",fill:"#fff"})),D||(D=$.createElement("path",{d:"M40.2 122.2a.7.7 0 01-.6.7h-13v-1.4h13.2a.7.7 0 01.4.4v.3z",fill:"#2E2E42"})),O||(O=$.createElement("path",{opacity:.3,d:"M26.2 46.6H31a.7.7 0 000-1.4h-4.7v1.4z",fill:"#fff"})),M||(M=$.createElement("path",{d:"M32 119.1a.7.7 0 01-.8.7h-4.6v-1.4h4.6a.7.7 0 01.7.7z",fill:"#2E2E42"})),I||(I=$.createElement("path",{opacity:.3,d:"M31.6 52a.7.7 0 01-.7.6h-4.6v-1.3h4.6a.7.7 0 01.7.6z",fill:"#fff"})),z||(z=$.createElement("path",{d:"M32 125.1a.7.7 0 01-.7.7h-4.7v-1.3h4.7a.7.7 0 01.6.6z",fill:"#2E2E42"})),H||(H=$.createElement("path",{d:"M35 88.7v2.7h.3v-2.2h4.3v-.5H35zm4.5-4a2.1 2.1 0 00-1.2-1.2 3 3 0 00-1-.2 3 3 0 00-1 .2c-.4 0-.6.2-.9.4l-.4.7a2 2 0 00-.2.8 1 1 0 00-.5.3l-.3.4-.2.6-.1.6h.4V87l.2-.5.2-.3.3-.2.3.7.5.6.7.4 1 .1c.3 0 .7 0 1-.2.3 0 .6-.2.8-.4l.4-.7c.2-.3.2-.6.2-.9 0-.3 0-.6-.2-.8zm-.4 1.5l-.3.6-.7.3a2.8 2.8 0 01-1.7 0l-.6-.3-.4-.6-.2-.7c0-.2 0-.5.2-.7 0-.2.2-.4.4-.5l.6-.4a2.8 2.8 0 011.7 0l.7.4a1.6 1.6 0 01.5 1.2c0 .3 0 .5-.2.7zm.3-6a1.2 1.2 0 00-1-.5 1 1 0 00-.8.4l-.2.4-.3.5-.1.4c0 .2-.2.3-.3.4l-.2.3H36a.7.7 0 01-.6-.2c-.2-.3-.2-.6-.2-.9v-.4a2.3 2.3 0 01.2-.6v-.2l-.3-.2-.1.2-.1.3-.1.4v.5c0 .4 0 .8.3 1.2a1.1 1.1 0 001 .5c.1 0 .3 0 .5-.2.2 0 .3-.1.4-.3l.2-.4.3-.5.2-.4.1-.4.3-.2c.1 0 .2-.1.4 0h.3l.3.2.1.3v1l-.2.5.4.2v-.3l.2-.3v-.3-.4c0-.4 0-.7-.2-1z",fill:"#fff"})),R||(R=$.createElement("path",{d:"M67.6 130.9a4.7 4.7 0 01-4.7 4.7H52.1a4.8 4.8 0 01-4.8-4.7l-.2-90.2a4.7 4.7 0 014.7-4.7h10.9a4.7 4.7 0 014.7 4.7l.2 90.2z",fill:"#D0DFF6"})),G||(G=$.createElement("path",{opacity:.1,d:"M55.6 135.6h-3.5a4.8 4.8 0 01-4.8-4.7l-.2-90.2a4.7 4.7 0 014.7-4.7h3.6a4.7 4.7 0 00-4.7 4.7l.1 90.2a4.8 4.8 0 004.8 4.7z",fill:"#231F20"})),F||(F=$.createElement("path",{d:"M63.4 46.3H51.2a.7.7 0 110-1.3h12.2a.7.7 0 110 1.3zM63.6 126.6H51a.7.7 0 01-.4-.9.7.7 0 01.7-.4h12.2a.7.7 0 01.6.4.7.7 0 01-.6 1z",fill:"#6B6A7A"})),B||(B=$.createElement("path",{d:"M55.7 98l4-2.7v-.4H55v.4H59L55 98v.5h4.8V98h-4.1zm3.9-7a2 2 0 00-.8-.7l-1.2-.2h-.5c-.6 0-1.1.1-1.6.5A1.7 1.7 0 0055 92c0 .3.1.7.3 1 .2.3.4.5.8.6.3.2.7.3 1.1.2h.6c.4 0 .8 0 1.1-.2.4-.1.6-.4.8-.7.2-.2.3-.6.3-1l-.3-1zm-.6 2c-.4.3-.9.5-1.4.4h-.5c-.5 0-1 0-1.3-.4a1.4 1.4 0 010-2.1c.3-.3.8-.4 1.3-.4h.5c.5 0 1 .1 1.4.4a1.3 1.3 0 01.5 1A1.3 1.3 0 0159 93zm-1.4-4.3v-2.8h2.2v-.4H55v.4h2.3v2.8H55v.4h4.8v-.4h-2.2zm1.8-7.7v1.7H55v.4h4.4v1.6h.4V81h-.4zm-2.3-2.3l2.6-1.4v-.5l-3
11.7H55v.4h1.8l3 1.8v-.5L57 78.7zM55 73.2v.4h2v1.2c-.1.4 0 .9.3 1.2a1.3 1.3 0 001 .4 1.3 1.3 0 001-.4c.4-.4.5-.8.5-1.2v-1.6H55zm4.4 1.6c0 .3 0 .7-.3 1a1 1 0 01-.8.2 1 1 0 01-.8-.3c-.2-.2-.3-.6-.3-.9v-1.2h2.2v1.2z",fill:"#000"})),Z||(Z=$.createElement("path",{d:"M117.9 122.7V230l-90.6-32v-88.9l90.6 13.6z",fill:"#E7A44F"})),U||(U=$.createElement("path",{d:"M215.9 198l-98 32V122.7l97.4-13.6.2 35.3.1 13.6.3 40z",fill:"#DD9D51"})),K||(K=$.createElement("path",{d:"M117.9 122.7l97.4-13.6 25.5 30.1-96.3 19.8-26.6-36.3z",fill:"#DD9D51"})),V||(V=$.createElement("path",{d:"M27.3 109.1l90.6 13.6L90 159 0 140l27.3-30.9z",fill:"#E7A44F"})),W||(W=$.createElement("path",{opacity:.1,d:"M215.6 158l-71 14.6-26.7-49.9 9 12.3 17.6 24 71-14.6.1 13.6z",fill:"#231F20"})),q||(q=$.createElement("path",{opacity:.1,d:"M117.9 122.7L90 172.6l-62.8-13.2v-13.6L90 159l18.5-24.1 9.3-12.2z",fill:"#231F20"})))}},89508:function(e,t,a){"use strict";var l,r=a(44194);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-bookmark"},e),l||(l=r.createElement("path",{d:"M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"})))}},907009:function(e,t,a){"use strict";var l,r=a(44194);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none",viewBox:"0 0 14 14"},e),l||(l=r.createElement("path",{fill:"#22C55E",d:"M6.999.333A6.67 6.67 0 0 0 .332 7a6.67 6.67 0 0 0 6.667 6.667A6.67 6.67 0 0 0 13.665 7 6.67 6.67 0 0 0 7 .333Zm-1.334 10L2.332 7l.94-.94 2.393 2.387 5.06-5.06.94.946-6 6Z"})))}},160433:function(e,t,a){"use strict";var l,r,n,i=a(44194);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}t.Z=function(e){return i.createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l||(l=i.createElement("path",{d:"M22 6.98V16c0 1.1-.9 2-2 2H6l-4 4V4c0-1.1.9-2 2-2h10.1c-.06.32-.1.66-.1 1 0 .34.04.68.1 1H4v12h16V7.9c.74-.15 1.42-.48 2-.92Z",fill:"#7F7F8B"})),r||(r=i.createElement("path",{fill:"#7F7F8B",d:"M11 6h2v4h-2zM11 12h2v2h-2z"})),n||(n=i.createElement("circle",{cx:19,cy:3,r:3,fill:"#D42154"})))}},77949:function(e,t,a){"use strict";var l,r,n=a(44194);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}t.Z=function(e){return n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-arrow-left"},e),l||(l=n.createElement("line",{x1:19,y1:12,x2:5,y2:12})),r||(r=n.createElement("polyline",{points:"12 19 5 12 12 5"})))}},248392:function(e,t,a){"use strict";var l,r,n=a(44194);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}t.Z=function(e){return n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-check-circle"},e),l||(l=n.createElement("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"})),r||(r=n.createElement("polyline",{points:"22 4 12 14.01 9 11.01"})))}},133467:function(e,t,a){"use strict";var l,r=a(44194);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-chevron-right"},e),l||(l=r.createElement("polyline",{points:"9 18 15 12 9 6"})))}},454389:function(e,t,a){"use strict";var l,r=a(44194);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-moon"},e),l||(l=r.createElement("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})))}},330667:function(e,t,a){"use strict";var l,r=a(44194);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",n({width:21,height:21,viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l||(l=r.createElement("path",{d:"M10.5 7.2c1.81 0 3.3 1.49 3.3 3.3 0 1.81-1.49 3.3-3.3 3.3a3.31 3.31 0 0 1-3.3-3.3c0-1.81 1.49-3.3 3.3-3.3Zm0-2.2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11ZM2.86 11.45H.96A.96.96 0 0 1 0 10.5c0-.53.43-.95.95-.95h1.91c.53 0 .96.42.96.95s-.43.95-.96.95ZM20.05 11.45h-1.91a.96.96 0 0 1-.96-.95c0-.53.43-.95.96-.95h1.9c.53 0 .96.42.96.95s-.43.95-.95.95ZM9.55 2.86V.96c0-.53.42-.96.95-.96s.95.43.95.95v1.91c0 .53-.42.96-.95.96a.96.96 0 0 1-.95-.96ZM9.55 20.05v-1.91c0-.53.42-.96.95-.96s.95.43.95.96v1.9c0 .53-.42.96-.95.96a.96.96 0 0 1-.95-.95ZM3.42 3.42a.95.95 0 0 1 1.34 0l1.02 1c.37.37.36.98 0 1.36a.95.95 0 0 1-1.35 0L3.42 4.76a.95.95 0 0 1 0-1.34ZM15.22 15.22a.95.95 0 0 1 1.35 0l1.01 1.02a.95.95 0 1 1-1.34 1.34l-1.01-1a.95.95 0 0 1 0-1.35ZM17.58 3.42c.38.36.38.97 0 1.34l-1 1.02a.95.95 0 1 1-1.35-1.35l1-1.01a.95.95 0 0 1 1.35 0ZM5.78 15.22c.37.37.37.98 0 1.35l-1.02 1.01a.95.95 0 1 1-1.35-1.35l1.02-1a.95.95 0 0 1 1.35 0Z",fill:"currentColor"})))}},205131:function(e,t,a){"use strict";var l=a(931549),r=a(44194),n=a(754748),i=a(742075);t.Z=e=>{let{className:t="",position:a,children:o,renderTooltip:s,hideTooltip:c=!1,closeable:d=!1,fullWidth:u=!1,mainClassName:h="",positionTopClasses:p="bottom-12",positionLeftClasses:m="-bottom-6 right-12",positionBottomClasses:v="top-12",positionTopLeftClasses:f="bottom-14 right-0",positionTopRightClasses:g="bottom-12 left-0",...E}=e,[_,x]=r.useState(!1);return(0,l.jsxs)("div",{className:(0,i.N)("relative flex justify-center",u&&"w-full",h),...E,children:[(_||d)&&!c&&(0,l.jsx)("div",{id:"tooltip",className:"absolute w-max ".concat("top"===a?p:"left"===a?m:"top-left"===a?f:"bottom"===a?v:"top-right"===a?g:""," ").concat(t),style:{zIndex:n.Li},children:s}),(0,l.jsx)("div",{id:"overlay",className:(0,i.N)("flex items-center justify-center",u&&"w-full"),onMouseOver:()=>x(!0),onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),children:o})]})}},501582:function(e,t,a){"use strict";a.d(t,{$m:function(){return c},Db:function(){return i},Mp:function(){return o},OP:function(){return n},P9:function(){return d},X9:function(){return r},bb:function(){return s}});var l=a(766898);let r="javascript",n={default:"vsDark",vsDark:"vsDark",vsLight:"vsLight"},i={default:"vs_dark",vsDark:"vs_dark",vsLight:"vs_light"}
1,o=Object.keys(n),s={default:"default",vsDark:"dark",vsLight:"light"},c={[l.Zs]:"No Input",[l.Ol]:"FreeHand",[l.Wz]:"Upload Image",[l.O2]:"Text Input"},d=["Code","TabbedCode"]},760738:function(e,t,a){"use strict";a.d(t,{K:function(){return l}});let l=/(`+)(?:(?=(\\?))\2.)*?\1/gm},392391:function(e,t,a){"use strict";a.d(t,{E:function(){return l}});let l=/(<[^>]*?)[\s]?(((style|class)[\s]?=[\s|\\?]?["|'].*?["|'])|((style|class)[\s]?=[\s|\\?]?[^ >]*))([^>]*>)/gm},790881:function(e,t,a){"use strict";a.d(t,{v:function(){return l}});let l="undefined"!=typeof jest},989853:function(e,t,a){"use strict";a.d(t,{F:function(){return n}});var l=a(790881),r=a(173656);let n=l.v||!!r.env.REACT_APP_STANDALONE},52586:function(e,t,a){"use strict";var l,r;a.d(t,{B:function(){return l}}),(r=l||(l={}))[r.PATHS_LANDING_PAGE=3017]="PATHS_LANDING_PAGE",r[r.CLOUD_LABS_LANDING_PAGE=3018]="CLOUD_LABS_LANDING_PAGE",r[r.LEARNING_PLAN_LANDING_PAGE=3019]="LEARNING_PLAN_LANDING_PAGE",r[r.PROJECTS_LANDING_PAGE=3020]="PROJECTS_LANDING_PAGE",r[r.ASSESSMENTS_LANDING_PAGE=3021]="ASSESSMENTS_LANDING_PAGE",r[r.EXPLORE_LANDING_PAGE=3022]="EXPLORE_LANDING_PAGE",r[r.COURSE_HOMEPAGE=3023]="COURSE_HOMEPAGE",r[r.PROJECT_HOMEPAGE=3024]="PROJECT_HOMEPAGE",r[r.CLOUD_LAB_HOMEPAGE=3025]="CLOUD_LAB_HOMEPAGE",r[r.SKILL_PATH_HOME_PAGE=3026]="SKILL_PATH_HOME_PAGE",r[r.L2C_LANDING_PAGE=3027]="L2C_LANDING_PAGE",r[r.PERSONALIZED_PATHS_LANDING_PAGE=3029]="PERSONALIZED_PATHS_LANDING_PAGE",r[r.LEARN_HOME_PAGE=3030]="LEARN_HOME_PAGE",r[r.LEARN_IN_PROGRESS_PAGE=3031]="LEARN_IN_PROGRESS_PAGE",r[r.LEARN_SAVED_PAGE=3032]="LEARN_SAVED_PAGE",r[r.LEARN_COMPLETED_PAGE=3033]="LEARN_COMPLETED_PAGE",r[r.LEARN_MY_COURSES_PAGE=3034]="LEARN_MY_COURSES_PAGE",r[r.LEARN_DEFAULT_LANDING_PAGE=3035]="LEARN_DEFAULT_LANDING_PAGE",r[r.EDUCATIVE_HOMEPAGE=3036]="EDUCATIVE_HOMEPAGE",r[r.EDUCATIVE_PRICING_PAGE=3037]="EDUCATIVE_PRICING_PAGE",r[r.EDUCATIVE_ANSWERS_PAGE=3038]="EDUCATIVE_ANSWERS_PAGE",r[r.INTERVIEW_PREP_LANDING_PAGE=3039]="INTERVIEW_PREP_LANDING_PAGE",r[r.GENERATIVE_AI_LANDING_PAGE=3040]="GENERATIVE_AI_LANDING_PAGE",r[r.DATA_SCIENCE_LANDING_PAGE=3041]="DATA_SCIENCE_LANDING_PAGE",r[r.DATA_SCIENCE_SUBLANDING_PAGE=3042]="DATA_SCIENCE_SUBLANDING_PAGE",r[r.CATALOG_LANDING_PAGE=3043]="CATALOG_LANDING_PAGE",r[r.TRANSACTION_PAGE=3044]="TRANSACTION_PAGE",r[r.AGENT_LANDING_PAGE=3052]="AGENT_LANDING_PAGE"},597998:function(e,t,a){"use strict";a.d(t,{w:function(){return l}});let l=962272==a.j?["ace","ace-editor","editor","require","module","window","document","exports","console","alert","prompt"]:null},92520:function(e,t,a){"use strict";a.d(t,{E:function(){return c}});var l=a(782474),r=a.n(l);let n=["paragraph"],i=["linkify","block","inline"],o=["autolink","escape","newline","text"],s=e=>({html:!e,linkify:!0,typographer:!0,xhtmlOut:!0}),c=e=>{let{blockRules:t=[],coreRules:a=[],disableMarkdown:l=!1,inlineRules:c=[],useCustomRules:d=!1}=e,u=new(r())(s(l));return d&&u.configure({components:{core:{rules:[...i,...a]},block:{rules:[...n,...t]},inline:{rules:[...o,...c]}}}),u}},2307:function(e,t,a){"use strict";a.d(t,{c:function(){return n}});var l=a(92520),r=a(318956);let n=e=>{let{blockRules:t=[],coreRules:a=[],disableMarkdown:n=!1,inlineRules:i=[],markdownText:o,useConcepts:s=!0,useCustomRules:c=!1,useKeyWords:d=!0}=e,u=(0,l.E)({blockRules:t,coreRules:a,disableMarkdown:n,inlineRules:i,useCustomRules:c}),h=u.renderer.rules.image||function(e,t,a,l,r){return r.renderToken(e,t,a)};u.renderer.rules.image=function(e,t,a,l,r){return e[t].attrPush(["loading","lazy"]),h(e,t,a,l,r)},n||(o=(0,r.y)(o,s,d));try{return o=u.render(o),n&&(o=(0,r.y)(o,s,d)),o}catch(e){return""}}},733585:function(e,t,a){"use strict";a.r(t),a.d(t,{markdownToHtmlWithKatex:function(){return s}});var l=a(56721),r=a.n(l),n=a(92520),i=a(318956);let o=e=>{let t=e=>{switch(e.tag){case"h1":e.tag="h2";break;case"h2":e.tag="h3";break;case"h3":e.tag="h4";break;case"h4":e.tag="h5";break;case"h5":e.tag="h6";break;case"h6":e.tag="p"}};e.renderer.rules.heading_open=(e,a,l,r,n)=>(t(e[a]),n.renderToken(e,a,l)),e.renderer.rules.heading_close=(e,a,l,r,n)=>(t(e[a]),n.renderToken(e,a,l))},s=e=>{let{blockRules:t=[],coreRules:a=[],disableMarkdown:l=!1,inlineRules:s=[],markdownText:c,useConcepts:d=!0,useCustomRules:u=!1,useKeyWords:h=!0,isColumnTopic:p=!1}=e;if(!c)return"";let m=(0,n.E)({blockRules:t,coreRules:a,disableMarkdown:l,inlineRules:s,useCustomRules:u});m.use(r()),p||o(m),l||(c=(0,i.y)(c,d,h));try{return c=m.render(c),l&&(c=(0,i.y)(c,d,h)),c}catch(e){return""}}},318956:function(e,t,a){"use strict";a.d(t,{v:function(){return n},y:function(){return i}});var l=a(596698);let r={"<concept>":/<concept>/g,"</concept>":/<\/concept>/g,"<keyword>":/<keyword>/g,"</keyword>":/<\/keyword>/g},n=(e,t)=>{let a=document.createElement("span");return a.appendChild(e.cloneNode(!0)),a.dataset.id=t,a},i=(e,t,a)=>
1(0,l.i)(o(e),[!a&&"keywords",!t&&"concepts"].filter(Boolean)),o=e=>Object.entries(r).reduce((e,t)=>{let[a,l]=t;return null==e?void 0:e.replace(l,a)},e)},173225:function(e,t,a){"use strict";a.r(t),t.default=(e,t)=>{if(!e){if(t=t||"Assertion failed",console.assert)console.assert(e,t);else if("undefined"!=typeof Error)throw Error(t);throw t}}},742075:function(e,t,a){"use strict";a.d(t,{N:function(){return l}});let l=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter(Boolean).join(" ")}},677314:function(e,t,a){"use strict";a.d(t,{T:function(){return c}});var l=a(490720),r=a.n(l),n=a(458724),i=a.n(n),o=a(597998),s=a(2307);let c=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=[],l={...o.w.reduce((e,t)=>(e[t]=1,e),{})},n=e=>{let r=e=>{let t=e.cloneNode(!0),a=t.getElementsByClassName("katex"),l=t.getElementsByTagName("keyword"),r=t.getElementsByTagName("concept");for(let e of Array.from(a))e.removeChild(e.getElementsByClassName("katex-mathml")[0]);for(let e of Array.from(l))e.removeChild(e.getElementsByTagName("meaning")[0]);for(let e of Array.from(r))e.removeChild(e.getElementsByTagName("name")[0]);return t.innerText},{body:n}=new DOMParser().parseFromString(e,"text/html");return!function e(n){Array.from(n).forEach(n=>{if(n.children.length&&e(n.children),/h[1-6]/i.test(n.tagName)&&n.innerText.trim().length>0){Array.from(n.getElementsByTagName("a")).forEach(e=>{let t=Array.from(e.getElementsByTagName("span")).some(e=>e.classList.contains("anchor-link"));(e.classList.contains("markdownIt-Anchor")||t)&&e.parentNode.removeChild(e)});let e=r(n),i=e.trim().replace(/ /g,"-").replace(t?/[^\u0600-\u06FF\u0750-\u077Fa-zA-Z0-9-]/g:/[^a-zA-Z0-9-]/g,""),o=l[i]?"".concat(i,"-").concat(l[i]):i;l[i]=l[i]?l[i]+1:1;let s=document.createElement("a");s.setAttribute("href","#"+o),s.setAttribute("aria-label",n.innerText);let c=document.createElement("span");c.className="anchor-link",c.innerText="#",s.appendChild(c),n.className="hover-anchor",n.appendChild(s),n.setAttribute("id",o),a.push({level:parseInt(n.tagName.replace("H","")),title:e,id:o})}})}(n.children),n.innerHTML},c=e.map(e=>"MarkdownEditor"===e.type?i()(e,{content:{mdHtml:{$set:n(e.content.mdHtml)}}}):"SlateHTML"===e.type?i()(e,{content:{html:{$set:n(e.content.html)}}}):"Columns"===e.type&&e.content.isValidTopic?i()(e,{content:{html:{$set:n((0,s.c)({markdownText:e.content.topic}))}}}):e);if(!a.length)return{TOC:"",updatedComps:c};let d=e=>{let t=r()(e.title.trim());return'<a href="#'.concat(e.id,'" aria-label="Read more about ').concat(t,'" >').concat(t,"</a>")},u="<ul>",h=(e,t)=>{let a="";for(;0!==e.length;){let l=e[e.length-1];if(l.level>=t){if(l.level===t&&"</ul>"===l.tag)break;a+=l.tag,e.pop()}else break}return a},p=(e,t)=>{let a="",l=e[e.length-1].level;for(;l<t.level;l++)a+="<ul><li>",e.push({tag:"</ul>",level:t.level}),e.push({tag:"</li>",level:t.level});return a},m=[];return a.forEach((e,t)=>{0===t?(m.push({tag:"</li>",level:e.level}),u+="<li>"+d(e)):e.level>m[m.length-1].level?u+=p(m,e)+d(e):(u+=h(m,e.level),m.length&&e.level>m[m.length-1].level?u+=p(m,e)+d(e):(m.push({tag:"</li>",level:e.level}),u+="<li>"+d(e)))}),{TOC:u+=h(m,0)+"</ul>",updatedComps:c}}},586045:function(e,t,a){"use strict";var l=a(173225);t.Z=(e,t,a,r,n,i,o,s)=>e?t?"/api/author/".concat(a,"/collection/").concat(i,"/page/").concat(r,"/image/").concat(n):"/api/collection/".concat(a,"/").concat(i,"/page/").concat(r,"/image/").concat(n):r?t?"/api/author/page/".concat(r,"/image/").concat(n):"/api/page/".concat(a,"/").concat(r,"/image/").concat(n):o||s?(s?(0,l.default)(!!t||s,"if its not a draft marketing page then editor_page_id should be passed in"):(0,l.default)(!!t||o,"if its not a draft shot then shot_id should be passed in"),o)?"/api/edpresso/shot/".concat(o,"/image/").concat(n):s?"/api/page/".concat(s,"/image/download/").concat(n):null:null},657768:function(e,t,a){"use strict";a.r(t),a.d(t,{getInnerText:function(){return h},markdownToHtml:function(){return d},markdownToHtmlForMarketing:function(){return u},removeCustomStyles:function(){return p}});var l=a(707613),r=a.n(l),n=a(760738),i=a(392391),o=a(677314),s=a(733585);let c=/(`+)[^]*(\$)[^]*(`+)/gm,d=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],i=!(arguments.length>6)||void 0===arguments[6]||arguments[6],o=arguments.length>7&&void 0!==arguments[7]&&arguments[7],c=arguments.length>8&&void 0!==arguments[8]&&arguments[8];return(0,s.markdownToHtmlWithKatex)({blockRules:r,coreRules:l,disableMarkdown:o,inlineRules:n,markdownText:e,useConcepts:i,useCustomRules:t,useKeyWords:a,isColumnTopic:c})},u=e=>d(e,!1,!1,[],[],[],!1),h=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=e.replace(/`<(.+?)\/?>`/g,"$1"),l="";if(t){let e=document.createElement("span");e.innerHTML=a,l=e.textContent||e.innerText}else l=a.replace(/<[^>]+>/g,"");return r()(l)},p=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return e;let l=JSON.parse(JSON.stringify(e));if(!a){let e;let t=e=>{e.content.text=e.content.text.replace(i.E,"$1$7"),e.content.mdHtml=d(e.content.text)},a="_#$custom$@$styles$#_";l.forEach(l=>{if(e=null,"MarkdownEditor"===l.type)(e=l.content.text.match(n.K))&&(l.content.text=l.content.text.replace(n.K,a)),t(l),e&&(e.forEach(e
1=>{e.match(c)&&(e=e.replace(/\$/g,"ï¼")),l.content.text=l.content.text.replace(a,e)}),l.content.mdHtml=d(l.content.text));else if("Columns"===l.type){var r;null===(r=l.content)||void 0===r||r.comps.forEach(l=>{if("MarkdownEditor"===l.type){var r,i;(e=l.content.text.match(n.K))&&(l.content.text=null===(i=l.content)||void 0===i?void 0:null===(r=i.text)||void 0===r?void 0:r.replace(n.K,a)),t(l),e&&(e.forEach(e=>{l.content.text=l.content.text.replace(a,e)}),l.content.mdHtml=d(l.content.text))}})}})}return t?(0,o.T)(l).updatedComps:l}},3755:function(e,t,a){"use strict";var l=a(931549),r=a(429725),n=a.n(r);t.Z=e=>{let{size:t=18}=e;return(0,l.jsx)("div",{className:n().spinner,style:{height:"".concat(t,"px"),width:"".concat(t,"px")},"data-testid":"spinner"})}},454686:function(e,t,a){"use strict";a.d(t,{Q:function(){return n},k:function(){return r}});var l=a(881762);let r=e=>(0,l.Z)({url:"/api/lesson/pinwork",type:"PUT",data:e}),n=e=>(0,l.Z)({url:"/api/lesson/unpinwork",type:"PUT",data:e})},940410:function(e,t,a){"use strict";a.d(t,{U:function(){return n}});var l=a(931549),r=a(551276);let n=e=>{Promise.all([a.e(222926),a.e(855310),a.e(583314),a.e(579125)]).then(a.bind(a,579125)).then(t=>{let a=t.default;(0,r.K)((0,l.jsx)(a,{params:e}))})}},424261:function(e,t,a){"use strict";a.d(t,{f:function(){return n}});var l=a(931549),r=a(551276);let n=e=>{Promise.all([a.e(222926),a.e(145804)]).then(a.bind(a,145804)).then(t=>{let a=t.default;(0,r.K)((0,l.jsx)(a,{params:e}))})}},421324:function(e,t,a){"use strict";a.r(t);var l=a(931549),r=a(44194),n=a(156321),i=a(210518),o=a.n(i),s=a(909932),c=a(764412),d=a(247619),u=a.n(d),h=a(754748),p=a(810343);t.default=e=>{let{showToast:t,icon:a="",iconClassName:i="",title:d="",onClose:m,additionalActionCTA:v}=e,f=(0,r.useRef)("undefined"!=typeof document&&document.createElement("div")),g=(0,r.useRef)(null),E=(0,c.a)("sm");return(0,r.useEffect)(()=>{let e="undefined"!=typeof document&&document.body;if(t&&e&&f.current){var a,l,r,n;let t=f.current;t.className="".concat(o().toastComponentStyleOne),t.style.zIndex=String(h.sM+1),t.style.top=E?"":"calc(var(--header-height) + var(--banner-height, 0rem) + var(--site-wide-banner-height, 0rem))",e.append(t);let i=null!==(r=null===u()||void 0===u()?void 0:null===(a=u().toastAnimationDuration)||void 0===a?void 0:a.replace("s",""))&&void 0!==r?r:"1",s=null!==(n=null===u()||void 0===u()?void 0:null===(l=u().toastAnimationStayDuration)||void 0===l?void 0:l.replace("s",""))&&void 0!==n?n:"3",c=1e3*Number(i)+1e3*Number(s);return g.current=setTimeout(()=>m(),c),()=>{try{t&&e&&e.contains(t)&&e.removeChild(t)}catch(e){(0,p.u)(Error("Error removing toast"),e)}clearTimeout(g.current)}}},[t,E,m]),t?(0,n.createPortal)((0,l.jsxs)("div",{className:"".concat(u().toastComponent," \n ").concat(o().toastComponent," \n ").concat(u()["toastAnimation-enter-active"],"\n ").concat(o().defaultBackground,"\n ").concat(o().successBorder," \n ").concat(o().toastComponentBorder," \n ").concat(o().width96," \n ").concat(s.Z.className," \n ").concat(s.Z.variable),children:[a&&(0,l.jsx)("span",{className:"".concat(o().flex," ").concat(o().marginTopHalf),children:(0,l.jsx)(a,{className:i})}),(0,l.jsxs)("div",{className:o().parentDiv,children:[d&&(0,l.jsx)("p",{className:o().title,children:d}),v&&(0,l.jsx)("span",{children:v})]})]}),f.current):null}},18754:function(e,t,a){"use strict";var l=a(669661);t.Z=()=>{var e,t;return!!(null===(t=(0,l.X)().data)||void 0===t?void 0:null===(e=t.subscription_feature_type)||void 0===e?void 0:e.is_premium_user)}},139171:function(e,t,a){"use strict";var l=a(669661);t.Z=()=>{var e,t;return!!(null===(t=(0,l.X)().data)||void 0===t?void 0:null===(e=t.subscription_feature_type)||void 0===e?void 0:e.is_premium_plus_user)}},12414:function(e,t,a){"use strict";a.d(t,{Z:function(){return Y}});var l,r,n,i,o=a(931549),s=a(78044),c=a.n(s),d=a(746931),u=a.n(d),h=a(44194),p=a(248392),m=a(226142),v=a(503346),f=a(3755),g=a(51202),E=a(38196),_=a(421324),x=a(881762),A=a(917144),y=a(810343);let N=(e,t,a,l,r,n)=>{let i=l&&e&&t&&a?"/api/lesson/bookmark/status?author_id=".concat(e,"&work_id=").concat(t,"&page_id=").concat(a).concat(r?"&path_id=".concat(r):"").concat(n?"&path_author_id=".concat(n):""):null,o=async e=>{let t=await (0,x.Z)({url:e,type:"GET"}),a={is_bookmarked:!1};try{a=JSON.parse(t)}catch(e){(0,y.u)(Error("Failed to parse lesson bookmark status for url key ".concat(i," due to ").concat(e)))}return a};return(0,A.ZP)(i,o,{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1})};
1var w=a(262270),b=a(791127),L=a(629099),C=a(161514),k=a(907009),S=a(687135),T=a(89508),P=a(989648),j=a(454686),D=e=>{let{className:t="",authorId:a,collectionId:l,pageId:r,pathId:n,pathAuthorId:i}=e,{data:s,isLoading:c}=(0,w.Pc)(),d=(0,P.Z)(),u=!!d&&(null==d?void 0:d.startsWith("/interview-prep")),p=!!(null==s?void 0:s.user_id),{data:m,isLoading:v}=N(a,l,r,p,n,i),[x,A]=h.useState(!1),[D,O]=h.useState(!1),[M,I]=h.useState(!1);return(h.useEffect(()=>{m&&A(m.is_bookmarked)},[m]),u)?null:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(L.default,{overlay:(0,o.jsx)("p",{className:"m-0",children:"Bookmark lesson"}),position:b.YS,parentClasses:"inline-block",children:(0,o.jsx)("button",{"aria-label":"Save/Unsave Lesson",onClick:()=>{if(!p){(0,E.q)({});return}(0,C.Z)("LESSON_PAGE",x?"CLICKED_UNBOOKMARK_CTA":"CLICKED_BOOKMARK_CTA");let e=x?j.Q:j.k;O(!0);let t={author_id:a,work_id:l,page_id:r};n&&(t.path_id=n),i&&(t.path_author_id=i),e(t).then(()=>{A(e=>!e),x||I(!0)}).finally(()=>{O(!1)}).catch(e=>{(0,y.u)(Error("Failed to ".concat(x?"unbookmark":"bookmark"," lesson due to ").concat(e)))})},disabled:D,className:"h-8 w-8 ".concat(t," content-secondary hover:bg-neutral-pressed hover:content-emphasis items-center justify-center rounded bg-transparent p-1"),children:c||v||D?(0,o.jsx)(f.Z,{size:24}):x?(0,o.jsx)(T.Z,{className:"h-6 w-6"}):(0,o.jsx)(S.Z,{className:"h-6 w-6"})})}),M&&(0,o.jsx)(_.default,{showToast:M,icon:k.Z,title:"Lesson is saved",onClose:()=>I(!1),additionalActionCTA:(0,o.jsxs)("div",{children:[(0,o.jsx)(g.Z,{className:"underline",href:"/user/notes",children:"Click Here"})," ","to view saved lessons"]})})]})},O=a(602108),M=a(151178);function I(){return(I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}var z=function(e){return h.createElement("svg",I({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l||(l=h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 0h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4l-4 4V2C0 .9.9 0 2 0Zm2 14h14V2H2v14l2-2Z",fill:"#7F7F8B"})))};function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}var R=function(e){return h.createElement("svg",H({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=h.createElement("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2Zm0 14H5.17l-.59.59-.58.58V4h16v12Zm-9-4h2v2h-2v-2Zm0-6h2v4h-2V6Z",fill:"#7F7F8B"})))},G=a(160433);function F(){return(F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}var B=function(e){return h.createElement("svg",F({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=h.createElement("path",{d:"M22 6.98V16c0 1.1-.9 2-2 2H6l-4 4V4c0-1.1.9-2 2-2h10.1c-.06.32-.1.66-.1 1 0 .34.04.68.1 1H4v12h16V7.9c.74-.15 1.42-.48 2-.92Z",fill:"#7F7F8B"})),i||(i=h.createElement("circle",{cx:19,cy:3,r:3,fill:"#D42154"})))},Z=a(392643),U=a(468518),K=a(395124),V=a(720883),W=a(358957),q=a(493415),$=e=>{let{children:t=null,isCollectionArticle:a=!1,title:l,collectionTitle:r,isPlan:n=!1,isMentee:i=!1,askForHelpCreate:s,showAllAskForHelps:c=!1,setShowAllAskF
1orHelps:d,showAskForHelpRaise:u=!1,setShowAskForHelpRaise:h,activeBlockers:p=0,totalBlockers:f=0,askForHelpTaskId:g,showAskForHelpRaiseButton:E=!1,showAskForHelpViewButton:_=!1,viewBlockersBtn:x=null,useModularTypescale:A=!1}=e,{userInfoState:y}=(0,K.su)(),N=y.data,w=(0,V.H)(N),b=(0,v.useRouter)(),L=[],C=(0,P.Z)(),k=C||(null==b?void 0:b.asPath),{authorId:S,collectionId:T,pageId:j,courseUrlSlug:I}=b.query,[H,F]=new m.Z().decode(b.query.encodedPathInfo)||[],$=((null==b?void 0:b.asPath)||"").includes("/module/lesson");if(a){var J,Q;let e=(0,U.i)(k),t=(0,U.M)(k),a=b.query.pathUrlSlug,n=(0,q.Z)(C||(null==b?void 0:b.asPath)),i=(0,W.Z)({authorId:S,collectionId:T,courseUrlSlug:I,workType:n}),o=a?"/".concat(t?"pal":"interview-prep","/").concat(a):t?"/pal?mp=".concat(null==b?void 0:null===(J=b.query)||void 0===J?void 0:J.encodedPathInfo):"/interview-prep?page=roadmap&mp=".concat(null==b?void 0:null===(Q=b.query)||void 0===Q?void 0:Q.encodedPathInfo);L=[{name:r||"Home",link:e?o:i},{name:"...",placeholder:!0},{name:l||O.V}]}let X=0===p?"".concat(f):"".concat(p," of ").concat(f," Active");return(0,o.jsxs)("div",{className:"flex flex-col",children:[(0,o.jsxs)(o.Fragment,{children:[a&&(0,o.jsx)(M.Z,{breadcrumbList:L,baseColor:"text-gray-L500 dark:text-gray-D100 hover:content-primary-default",lastColor:"text-gray-L500 dark:text-gray-D100",customClasses:" mt-10",dividerMargin:"px-2.5"}),a&&(0,o.jsxs)("h1",{className:"mb-2.5 ".concat(a?"mt-4":"mt-14"," text-left text-gray-L1000 dark:text-gray-D200 ").concat(A?"heading-one":"font-semibold leading-tight"," tracking-tight"),style:A?null:{fontSize:"40px"},id:"page-title",children:[l,!$&&(0,o.jsx)(D,{authorId:String(S),collectionId:String(T),pageId:String(j),pathId:F?String(F):null,pathAuthorId:H?String(H):null})]}),(n||w)&&(0,o.jsxs)("div",{className:"".concat(l?"":"mt-12 ","flex flex-wrap justify-end"),children:[!g&&E&&!w&&(0,o.jsxs)("button",{className:"text-default self-end sm:mr-3",onClick:()=>h(!u),children:[(0,o.jsx)(Z.Z,{}),(0,o.jsx)("span",{className:"ml-2",children:"Ask for Help"})]}),(_||w)&&("0"!==X||w)&&(0,o.jsx)("button",{id:"view-blockers-btn",ref:x,className:"text-hover self-end bg-gray-L50 text-gray-L400 hover:bg-gray-L50 dark:bg-gray-D1300 dark:hover:bg-gray-D1000 ".concat(w&&"opacity-0"),onClick:()=>d(!c),children:w?null:(0,o.jsxs)(o.Fragment,{children:[i?p>0?(0,o.jsx)(B,{}):(0,o.jsx)(z,{}):p>0?(0,o.jsx)(G.Z,{}):(0,o.jsx)(R,{}),(0,o.jsx)("span",{className:"ml-2",children:X})]})}),u&&E&&s()]})]}),t]})},J=a(793291);let Q=c()(()=>a.e(604404).then(a.bind(a,604404)),{loadableGenerated:{webpack:()=>[604404]}});class X extends h.Component{render(){let e=null,{pageSummary:t={},author:a,collectionName:l,isCollectionArticle:r,coverImage:n,data:i,isPreview:s,children:c,isPlan:d,askForHelpCreate:h,showAllAskForHelps:m,setShowAllAskF
1orHelps:v,showAskForHelpRaise:f,setShowAskForHelpRaise:g,activeBlockers:E,totalBlockers:_,askForHelpTaskId:x,showAskForHelpRaiseButton:A,showAskForHelpViewButton:y,viewBlockersBtn:N,isMentee:w,useModularTypescale:b=!1}=this.props,L=t.title||"";return e=(0,o.jsx)($,{title:L,collectionTitle:l,isCollectionArticle:r,isPlan:d,askForHelpCreate:h,setShowAllAskForHelps:v,showAllAskForHelps:m,setShowAskForHelpRaise:g,showAskForHelpRaise:f,activeBlockers:E,totalBlockers:_,askForHelpTaskId:x,showAskForHelpRaiseButton:A,showAskForHelpViewButton:y,viewBlockersBtn:N,isMentee:w,useModularTypescale:b,children:(0,o.jsxs)("div",{className:"flex flex-col justify-between sm:flex-row",children:[(0,o.jsxs)("div",{className:"flex flex-col",style:{maxWidth:"730px"},children:[!r&&(0,o.jsx)(Q,{coverImage:n,author_id:a.author_id,author_name:a.author_name,authorProfileImgUrl:a.profile_image_serving_url,title:L}),(0,o.jsx)("div",{className:"flex-1 whitespace-pre-line","data-testid":"summary-description",children:(0,o.jsx)("p",{className:"body-medium mt-".concat(r?0:4),children:t.description?t.description.trim():""})}),c&&(0,o.jsx)("div",{className:"mx-0 mb-2.5 mt-4 flex",children:c})]}),s&&i.is_priced&&!r&&(0,o.jsxs)("div",{className:"mb-8 mt-4 flex w-full flex-col items-center justify-start sm:mt-2 sm:flex-row sm:justify-evenly lg:flex-col lg:justify-start",style:{minWidth:"230px"},children:[(0,o.jsxs)("div",{className:"relative flex w-60 flex-col items-center justify-center rounded p-4 transition duration-200",children:[(0,o.jsx)(J.Z,{isDiscounted:!0})," per month!",(0,o.jsx)("div",{className:"flex w-full",children:(0,o.jsx)(u(),{prefetch:!1,href:"/unlimited",style:{width:"100%"},children:(0,o.jsx)("button",{className:"outlined-default m-0 w-full",children:"access all courses"})})})]}),(0,o.jsxs)("div",{className:"mb-3 mt-5 flex flex-row items-center",children:[(0,o.jsx)(p.Z,{className:"mr-2 h-3 w-3 text-black dark:text-gray-D200"}),"7 Day Returns"]})]})]})}),(0,o.jsx)("div",{className:"mb-5",ref:this.props.pageSummaryRef,children:e})}}X.defaultProps={author:"[Author Name]",coverImage:"",pageSummary:{},isCollectionArticle:!1,children:null,data:{},isPreview:!1};var Y=X},972722:function(e,t,a){"use strict";a.d(t,{Z:function(){return d}});var l=a(931549),r=a(44194),n=a(764412),i=a(480333),o=a(290016),s=a(837948),c=a(657768);class d extends r.Component{componentDidMount(){this.setState({hide:(0,n.L)("sm")})}render(){var e,t;let{children:r}=this.props,n=null==r?void 0:r.replace(/\[.*?\]/gi,e=>(0,c.getInnerText)(e,!1)),d=(0,c.markdownToHtml)(n);return(0,l.jsxs)("details",{"data-testid":"toc-wrap",open:!this.state.hide,className:"".concat(null===(t=a.g)||void 0===t?void 0:null===(e=t.pageTableOfContentStyles)||void 0===e?void 0:e["pageTableOfContent-default"]," rounded bg-gray-L50 dark:bg-gray-D1400"),children:[(0,l.jsx)("summary",{"data-testid":"heading-wrap",onClick:this.changeTocLabel,tabIndex:0,className:"cursor-pointer rounded-t border border-solid border-gray-L200 p-1 pl-4 dark:border-gray-D1300",children:(0,l.jsxs)("div",{"data-testid":"heading-wrap-inner",className:"flex items-center",children:[(0,l.jsx)("span",{className:"heading-six tracking-wide",children:"We'll cover the following".concat(this.state.hide?"...":"")}),(0,l.jsx)("button",{className:"icon-default ml-auto rounded-none",onClick:this.changeTocLabel,"aria-label":"".concat(this.state.hide?"Expand":"Collapse"," Dropdown"),children:this.state.hide?(0,l.jsx)(o.Z,{}):(0,l.jsx)(s.Z,{})})]})}),(0,l.jsx)("div",{className:"border border-t-0 border-solid border-gray-L200 p-4 pl-0 dark:border-gray-D1300",children:(0,l.jsx)(i.default,{openLinksInNewTab:!1,mdHtml:d,renderedInTOC:!0,className:"no-underline"})})]})}constructor(...e){super(...e),this.state={hide:!1},this.changeTocLabel=e=>{e.preventDefault(),e.stopPropagation(),this.setState(e=>({hide:!e.hide}))}}}},625894:function(e,t,a){"use strict";function l(e){return"small"===e?{maxWidth:"700px"}:"medium"===e?{maxWidth:"900px"}:{maxWidth:"1024px"}}a.d(t,{Z:function(){return l}})},151178:function(e,t,a){"use strict";a.d(t,{s:function(){return d}});var l=a(931549),r=a(746931),n=a.n(r),i=a(503346),o=a(395124),s=a(717433),c=a(468045);let d={PATH:"Learning Path",PROJECT:"Projects",CLOUD_LABS:"Cloud Labs",MARKETING_PAGE:"Marketing Page"},u="bg-transparent p-0 py-1 outline-none",h=e=>e&&isNaN(Number(e))?s.ZP.titleCaseString((0,c.C6)(e,"-"," ")):e;t.Z=e=>{let{pageType:t,baseColor:a="text-gray-L500 dark:text-gray-L50 hover:text-gray-L500 hover:dark:text-gray-L50",lastColor:r="text-gray-L700 dark:text-gray-L400 hover:text-gray-L700 hover:dark:text-gray-L400",customClasses:s="",courseClass:c="",breadcrumbList:p=null,title:m=null,dividerElement:v=">",dividerMargin:f="px-6"}=e,{userInfoState:g}=(0,o.su)(),E=(0,i.useRouter)().asPath.split("/").filter(e=>""!==e).map(e=>e.split("?")[0]),_=null!=p?p:[{name:"Home",link:g.loggedOut?"/":"/learn/home"},{name:t&&t!==d.MARKETING_PAGE?t:h(E[0]),link:(()=>
1{if(t)switch(t){case d.PATH:return"/paths";case d.PROJECT:return"/projects";case d.CLOUD_LABS:return"/cloudlabs";case d.MARKETING_PAGE:return"/".concat(E[0])}return"/search?tab=courses"})()},...(null!=m?m:E.length>1)?[{name:null!=m?m:h(E[E.length-1])}]:[]],x={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:_.filter(e=>!e.placeholder).map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,...e.link&&t<_.length-1&&{item:"".concat("https://www.educative.io").concat(e.link)}}))};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex flex-wrap".concat(s),children:_.map((e,t)=>(0,l.jsxs)("div",{className:"flex items-center",children:[t===_.length-1||e.placeholder?(0,l.jsx)("p",{className:"".concat(u," ").concat(c," ").concat(r," m-0"),children:e.name}):(0,l.jsx)(n(),{href:e.link,className:"".concat(u," ").concat(c," ").concat(a," cursor-pointer"),children:e.name}),t<_.length-1&&(0,l.jsx)("span",{className:"p-0 ".concat(f," py-1 ").concat(a),children:v})]},e.name))}),(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(x)}})]})}},664946:function(e,t,a){"use strict";var l=a(931549);a(44194);let r="h-4 my-2 inline-block w-full clear-both";t.Z=e=>{let{zIndex:t=1e3,fullscreen:a=!1,containerRef:n=()=>{},backgroundClasses:i="bg-white dark:bg-gray-D1500",lineColorClasses:o="bg-gray-L50 dark:bg-gray-D1400"}=e;return(0,l.jsxs)("div",{className:"".concat(a?"absolute h-full w-full":""," ").concat(i),style:{zIndex:t},ref:n,children:[(0,l.jsx)("div",{className:"".concat(r," ").concat(o)}),(0,l.jsx)("div",{className:"".concat(r," ").concat(o)}),(0,l.jsx)("div",{className:"".concat(r," ").concat(o),style:{width:"70%",marginBottom:"30px"}})]})}},348306:function(e,t,a){"use strict";var l=a(931549);a(44194),t.Z=e=>{let{checkBackgroundClass:t="text-green-700",checkBackgroundStyle:a="",checkFillClass:r="text-white",width:n="24",height:i="24",...o}=e;return(0,l.jsxs)("svg",{width:n,height:i,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[(0,l.jsx)("circle",{className:"".concat(t," fill-current"),style:{color:a},cx:"12",cy:"12",r:"12"}),(0,l.jsx)("path",{className:"".concat(r," stroke-current"),d:"m17 9-6.9 7L7 12.8",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},891309:function(e,t,a){"use strict";var l=a(931549),r=a(44194),n=a(930286),i=a(51879),o=a(687335),s=a(305490),c=a(227595),d=a(446327),u=a(454389),h=a(330667),p=a(395124);let m="text-gray-L500 dark:text-gray-D200";t.Z=e=>{let{pageType:t=i.l.COLLECTION_LESSON,fixed:a=!0,customClass:v="",customStyle:f={},bgClasses:g="h-10 w-10 transform rounded-full border-gray-L500 bg-gray-L50 transition duration-500 ease-in-out hover:-translate-y-1 hover:border hover:border-solid dark:border-gray-D200 dark:bg-gray-D1300",iconSize:E="w-5 h-5"}=e,{userInfoState:_,userInfoDispatch:x}=(0,p.su)(),A=_.data,y=_.loaded,[N,w]=(0,n.Z)(["theme","use_system_preference"]),b=(0,s.$)({cookies:N,userInfo:A,userInfoLoaded:y}),[L,C]=(0,r.useState)(!1),k=y&&!!A.user_id;return(0,l.jsx)("div",{className:a?"fixed bottom-0 right-0 z-20 mb-8 mr-6 ".concat(v||"").trim():"",style:f,children:(0,l.jsxs)("div",{onClick:()=>{C(!0),(0,o.P)(()=>(0,d.I)({theme:(0,c.Uq)(b),setCookie:(e,t,a)=>w(e,t,a),isLoggedIn:k,source:t,userInfoDispatch:x,afterToggle:()=>C(!1)}))},className:"flex cursor-pointer items-center justify-center ".concat(g," ").concat(L?"animate-pulse":""),children:[(0,l.jsx)(u.Z,{className:"dark:hidden ".concat(E," ").concat(m)}),(0,l.jsx)(h.Z,{className:"tailwind-hidden dark:block ".concat(E," ").concat(m)})]})})}},813765:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return j},userShareFeedbackInteraction:function(){return T}});var l=a(931549),r=a(44194),n=a(45945),i=a(78044),o=a.n(i),s=a(427391),c=a.n(s),d=a(940410),u=a(738875),h=a(520649),p=a(52586),m=a(960622),v=a(161514),f=a(626119),g=a(881762);let E=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return(0,g.Z)({url:"/api/user/flag/feedback-tooltip",type:"PUT",data:{viewed_feedback_tooltip:e}})};var _=a(348306),x=a(6335),A=a(275307),y=a(243066),N=a(301284),w=a(395124),b=a(262603),L=a(205131);let C=o()(()=>Promise.resolve().then(a.bind(a,622424)),{loadableGenerated:{webpack:()=>[622424]}}),k=[m.d.IN_CONTENT_CLOUD_LAB,m.d.STANDALONE_CLOUD_LAB,m.d.STANDALONE_PROJECT,m.d.IN_CONTENT_PROJECT],S=e=>{let{type:t,icon:a=null,onClickAction:r=null}=e;return(0,l.jsxs)("div",{className:"flex cursor-pointer items-center justify-between px-4 py-4 hover:bg-gray-L50 dark:hover:bg-gray-D1000",onClick:r,children:[(0,l.jsx)("span",{className:"body-small text-gray-L700 dark:text-gray-D25",children:t}),null!=a?a:""]})},T=(e,t,a,l)=>(0,v.Z)(e in p.B?"LANDING_HOMEPAGE_FEEDBACK":t===h.dL.SKILL_ASSESSMENT?"ASSESSMENT":t===h.dL.STANDALONE_PROJECT?"STANDALONE_PROJECT":"INT
1ERACTION",e in p.B?"CLICKED_FEEDBACK_BUTTON":"INTERACTION_USER_FEEDBACK_INIT",e in p.B?a:l),P=e=>{let{authorId:t=null,pageId:a=null,collectionId:i=null,workName:o=null,workType:s=null,pathAuthorId:c=null,pathId:m=null,shotUrl:f=null,onclick:g,setShowToast:E,type:_,userBackFeedback:x,dispatch:A,router:w}=e,b=(0,N.et)(),L=w.asPath;r.useEffect(()=>{let e=e=>{if("Escape"===e.key){var t;null===(t=(0,n.$)())||void 0===t||t.close()}};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[]);let C=()=>(0,v.Z)(s===h.dL.SKILL_ASSESSMENT?"ASSESSMENT":s===h.dL.STANDALONE_PROJECT?"STANDALONE_PROJECT":"INTERACTION","INTERACTION_ASK_AUTHOR_INIT",o),k={ASK_AUTHOR:"Ask the author",SHARE_FEEDBACK:"Share feedback",USERBACK_FEEDBACK:"Give Feedback",SHORTCUT_KEYS:"".concat(b.sidebarCollapsed||b.sidebarType!==N.mQ.SHORTCUT_PANEL?"Show":"Hide"," Shortcut Panel")},P=[y.N.test(w.asPath)&&{type:k.SHORTCUT_KEYS,onClickAction:()=>{b.sidebarCollapsed||b.sidebarType!==N.mQ.SHORTCUT_PANEL?b.setSidebarState({sidebarCollapsed:!1,sidebarType:N.mQ.SHORTCUT_PANEL}):b.setSidebarState({sidebarCollapsed:!0,sidebarType:N.mQ.SHORTCUT_PANEL})}},!x&&{type:k.SHARE_FEEDBACK,onClickAction:()=>{T(_,s,L,o),(0,d.U)({authorId:t,pageId:a,collectionId:i,pathAuthorId:c,pathId:m,shotUrl:f,modalType:u.C.SEND_FEEDBACK,workName:o,workType:s,type:_,onSuccess:()=>E()})}},!x&&{type:k.ASK_AUTHOR,onClickAction:()=>{C(),(0,d.U)({authorId:t,pageId:a,collectionId:i,pathAuthorId:c,pathId:m,isAskAuthor:!0,shotUrl:f,modalType:u.C.ASK_AUTHOR,workName:o,workType:s,type:_,onSuccess:()=>E()})}},x&&{type:k.USERBACK_FEEDBACK,onClickAction:()=>{var e;null===(e=(0,n.$)())||void 0===e||e.open()}}];return(0,l.jsx)("div",{className:"absolute bottom-12 right-4 flex w-64 flex-col rounded bg-white shadow-md dark:border dark:border-solid dark:border-gray-D900 dark:bg-gray-D1100 dark:shadow-none",onClick:()=>g(),children:P.filter(Boolean).map(e=>(_ in p.B&&(e.type===k.SHARE_FEEDBACK||e.type===k.USERBACK_FEEDBACK)||!(_ in p.B))&&(0,r.createElement)(S,{...e,key:e.type}))})};var j=e=>{var t;
1let[a,n]=(0,r.useState)(!1),[i,o]=(0,r.useState)(!1),{showFeedbackTooltip:s=!1}=e,h=(0,b.TL)(),v=(0,f.t)(),g=v.asPath,{userInfoDispatch:y,userInfoState:N}=(0,w.su)(),S=!!(null==N?void 0:null===(t=N.data)||void 0===t?void 0:t.user_id),j=e.type===m.d.USERBACK_FEEDBACK,D=e.type in p.B,O=k.includes(e.type),M=e.hideMenu||(D||O)&&!j;return(0,l.jsxs)("div",{className:"".concat(e.type===m.d.USERBACK_FEEDBACK?"fixed bottom-8":"relative"," flex transform flex-col gap-y-4 transition duration-500 ease-in-out ").concat(M?"":"hover:-translate-y-1"),style:{zIndex:9999,right:e.type===m.d.USERBACK_FEEDBACK?"1.5rem":"0rem"},children:[a&&!M&&(0,l.jsx)(c(),{onRootClose:()=>n(!1),children:(0,l.jsx)(P,{...e,onclick:()=>n(!1),setShowToast:()=>o(!0),userBackFeedback:e.type===m.d.USERBACK_FEEDBACK,dispatch:h,router:v})}),(0,l.jsx)(L.Z,{position:"top-left",hideTooltip:!s||!S,closeable:!0,renderTooltip:(0,l.jsxs)("div",{className:"relative flex items-center gap-x-2 rounded bg-gray-L1000 py-1.5 pl-4 pr-2 dark:bg-gray-D700",children:[(0,l.jsx)("span",{className:"caption-text text-white",children:"Got any feedback? Get in touch with us."}),(0,l.jsx)(x.Z,{className:"z-10 h-5 w-5 cursor-pointer text-white",onClick:()=>{y({type:"setHideFeedbackTooltip"}),E(!0)}}),(0,l.jsx)("div",{className:"absolute -bottom-1 right-2.5 h-4 w-4 rotate-45 skew-x-12 skew-y-12 rounded-sm bg-gray-L1000 dark:bg-gray-D700"})]}),children:(0,l.jsx)("div",{className:"z-20 flex h-10 w-10 cursor-pointer items-center justify-center ".concat(e.hideBackground?"hover:bg-gray-L50 dark:hover:bg-gray-D1300":"border-gray-L500 bg-gray-L50 dark:border-gray-D200 dark:bg-gray-D1300"," rounded-full ").concat(M?"":"hover:border hover:border-solid"),onClick:()=>{if(M){let{authorId:t,pageId:a,collectionId:l,pathAuthorId:r,pathId:n,shotUrl:i,workName:s,workType:c,type:h}=e;T(h,c,g,s),(0,d.U)({authorId:t,pageId:a,collectionId:l,pathAuthorId:r,pathId:n,shotUrl:i,modalType:u.C.SEND_FEEDBACK,workName:s,workType:c,type:h,onSuccess:()=>o(!0)})}else n(!0)},children:(0,l.jsx)(A.Z,{className:"h-5 w-5 fill-current text-gray-L500 dark:text-gray-D200"})})}),i&&(0,l.jsx)(C,{showToast:i,icon:_.Z,iconClassName:"w-6 h-6 text-green-700",title:"Feedback Submitted",description:"Thank you for sending us your feedback! We are constantly aiming to improve the experience for our users.",onClose:()=>o(!1)})]})}},427659:function(e,t,a){"use strict";var l=a(366567),r=a.n(l),n=a(44194);t.Z=e=>{let{loading:t,isPaginatedLoading:a=!1}=e;return n.useEffect(()=>()=>{t&&r().done()},[t]),document.body&&!a&&(t?r().start():r().done()),null}},243066:function(e,t,a){"use strict";a.d(t,{N:function(){return l},x:function(){return r}});let l=/\/work/,r={HOME:"/work",PROJECTS:"/work/projects",FOLDERS:"/work/docs",REVIEWS:"/work/reviews",REVIEWS_FOLLOW_UPS:"/work/reviews?tab=follow_ups",TASKS:"/work/tasks",TRASH:"/work/trash",TASKS_FOLLOW_UPS:"/work/tasks?tab=follow_ups",GROUPS:"/work/groups",SCHEDULED_REPORTS:"/work/scheduled-reports",PRIVATE_PROJECTS:"/work/projects/private",SHARED_PROJECTS:"/work/projects/shared",SHARED_FOLDERS:"/work/docs/shared",ONBOARDING:"/work/onboarding",PRIVATE_FOLDERS:"/work/docs/private"}},327374:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return eP}});var l,r,n,i,o,s,c,d,u,h,p,m,v,f,g,E,_,x,A,y,N,w,b,L,C,k,S,T,P,j,D,O=a(931549),M=a(881762),I=a(503346),z=a(44194),H=a(373516),R=a(520649),G=a(378958),F=a(960622),B=a(586045),Z=a(552735),U=a.n(Z),K=a(746931),V=a.n(K),W=a(107565),q=a(19237),$=a(431319),J=a(60513),Q=a(161514),X=a(12414),Y=a(625894),ee=a(891309),et=e=>{let{illustration:t,message:a,actionButtons:l}=e;return(0,O.jsxs)("div",{className:"flex w-full flex-col items-center rounded p-4",children:[t,(0,O.jsx)("p",{className:"mx-6 mt-8 text-center text-xl",children:a}),(0,O.jsx)("div",{className:"mt-4 flex w-full flex-col flex-wrap justify-center sm:w-auto sm:flex-row",children:l})]})},ea=a(664946),el=a(865546),er=a(97713),en=a(989648),ei=a(389392),eo=a(493415),es=a(898465),ec=a(678430);function ed(){return(ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}var eu=function(e){return z.createElement("svg",ed({width:160,height:160,viewBox:"0 0 160 160",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l||(l=z.createElement("path",{d:"M9.3 67.8c-3 .3-2.9 5 0 4.7 3-.3 3-5 0-4.7z",fill:"#E53F3D"})),r||(r=z.createElement("path",{d:"M82.2 89l52.4-15.6-.5 63.2-51.9 20.3v-68z",fill:"#CCCBFF"})),n||(n=z.createElement("path",{d:"M30.5 136.6l-2-65 53.7 18v67.3l-51.7-20.3z",fill:"#8887FF"})),i||(i=z.createElement("path",{d:"M79.7 54L27.6 70.8l54 18.9 53.6-16.5L79.7 54z",fill:"#CB3D27"})),o||(o=z.createElement("path",{d:"M64.5 109l16.9-19.2-15.2 24a2.6 2.6 0 01-3.1 1l-34.6-13-.1-4.7",fill:"#2320CC"})),s||(s=z.createElement("path",{d:"M64.4 109.7H64L14.4 91.4a1.3 1.3 0 01-.6-2l14-17.9L80.3 90l-15 19.3a1.3 1.3 0 01-1 .4z",fill:"#F3715D"})),c||(c=z.createElement("path",{d:"M28 72.2l51.5 18.1L65 108.9a.7.7 0 01-.6.3.7.7 0 01-.2 0L14.5 90.7a.7.7 0 01-.4-.9.7.7 0 01.
11-.2L28 72.2zm-.5-1.4L13.4 89.1a1.8 1.8 0 00.8 2.8l49.6 18.3.6.1c.6 0 1.1-.3 1.5-.7l15.5-19.8-53.8-19z",fill:"#CB3F27"})),d||(d=z.createElement("path",{d:"M81.5 54c5.3-1.4 18-3 20.8-3.4h.3a4279.7 4279.7 0 0154.5 16.6 890 890 0 00-21.9 5.5L81.5 54z",fill:"#F3715D"})),u||(u=z.createElement("path",{d:"M102.6 51.1A4406.3 4406.3 0 01155 67l-19.8 5-51.7-17.9c4.5-1 12.1-2.1 18.8-3a2.9 2.9 0 01.3 0zm0-1a164.3 164.3 0 00-23 4l55.6 19.2s22.5-6 24-6c1.4 0-48.8-15-55.5-17a3.6 3.6 0 00-1-.2z",fill:"#CB3F27"})),h||(h=z.createElement("path",{d:"M9.1 71.3l-3.3-.1a1457.5 1457.5 0 0149.1-16C57 55 66.7 54 73.7 54a36.1 36.1 0 014.1.2L27.4 70.3c-.9 0-11.6 1-18.3 1z",fill:"#F3715D"})),p||(p=z.createElement("path",{d:"M73.7 53.4v1h1L27.3 69.8c-1.2.1-11.7 1-18.2 1h-.4c11-4 41.4-13.5 46-14.9h.3c1.9-.3 11.7-1.3 18.7-1.3v-1.2zm0 0a201.3 201.3 0 00-19.3 1.3C50.4 56 2.7 71 4 71.4c.8.3 2.7.4 5 .4 7 0 18.5-1 18.5-1L80 54c-1.2-.5-3.5-.7-6.3-.7z",fill:"#CB3F27"})),m||(m=z.createElement("path",{d:"M66.5 9.5L66.2 22l-6.1-1.1.2-11.6 6.2.2zM19.3 45c-3.6 0-4.4-2.4-4.6-3.4-.7-3.3 2-7.8 5.8-9.8a9.5 9.5 0 012-.7 35.8 35.8 0 00-.8-4.1 1.7 1.7 0 011-2.1 1.5 1.5 0 012 1.1 40.8 40.8 0 011 4.9c2.2.3 4.8 1.6 7.4 5 .5.7.4 1.8-.3 2.4a1.5 1.5 0 01-2-.2l-.2-.1a8.9 8.9 0 00-4.5-3.6c0 2.9-.3 6-1.7 8a5.9 5.9 0 01-5.1 2.6zm3.6-10.6a7 7 0 00-1 .5c-2.9 1.4-4.5 4.1-4.2 5.5 0 .2.2 1.2 1.6 1.2a2.8 2.8 0 002.6-1.3c.9-1.3 1.1-3.5 1-5.9z",fill:"#84E7D4"})),v||(v=z.createElement("path",{d:"M81.5 32.7c2 2 1.2 3.8.9 4.5-1.3 2.1-5 3-8 1.8a7.1 7.1 0 01-1.5-.8 26 26 0 00-1.6 2.7 1.1 1.1 0 01-1.6.5 1.3 1.3 0 01-.4-1.7 28.4 28.4 0 011.8-3.2 9.7 9.7 0 01-1.4-7 1.2 1.2 0 011.3-1 1.3 1.3 0 011 1.3c-.2 2.1.1 3.6.7 4.6 1.4-1.6 3-3 4.8-3.3a4.4 4.4 0 014 1.6zm-7.1 3.5l.8.4c2.2.8 4.4.3 5-.6 0-.1.4-.7-.3-1.5a2.1 2.1 0 00-2-.9c-1.2.2-2.4 1.3-3.5 2.6z",fill:"#92D3CA"})),f||(f=z.createElement("path",{d:"M3.3 42.5c1.9 0 3.3-1.6 3.3-3.6s-1.4-3.6-3.3-3.6C1.5 35.3 0 37 0 39s1.5 3.6 3.3 3.6z",fill:"#EDC7C8"})),g||(g=z.createElement("path",{d:"M39.5 21.5c1.8 0 3.3-1.6 3.3-3.5 0-2-1.5-3.6-3.3-3.6-1.8 0-3.3 1.6-3.3 3.6s1.5 3.5 3.3 3.5z",fill:"#FEC052"})),E||(E=z.createElement("path",{d:"M86.3 27.2c1.9 0 3.3-1.6 3.3-3.6S88.2 20 86.3 20c-1.8 0-3.3 1.6-3.3 3.6s1.5 3.6 3.3 3.6z",fill:"#84E7D4"})),_||(_=z.createElement("path",{d:"M83 7.2c1.8 0 3.3-1.6 3.3-3.6S84.8 0 83 0c-1.8 0-3.3 1.6-3.3 3.6s1.5 3.6 3.3 3.6zm52.5 32c1.9 0 3.3-1.6 3.3-3.6s-1.4-3.5-3.3-3.5c-1.8 0-3.3 1.6-3.3 3.5 0 2 1.5 3.6 3.3 3.6z",fill:"#FEC052"})),x||(x=z.createElement("path",{d:"M121.3 76c1.8 0 3.3-1.6 3.3-3.6s-1.5-3.6-3.3-3.6c-1.9 0-3.3 1.6-3.3 3.6s1.4 3.6 3.3 3.6zm-12-34.7a1.4 1.4 0 01-1.3-1.1 18.5 18.5 0 01-.3-1.8 9 9 0 012-6.6 7.2 7.2 0 013.3-2.3c.8-3.4 2.2-6 4.3-7.6a9.5 9.5 0 017.6-1.7c.8.2 1.2 1 1 1.7a1.3 1.3 0 01-1.5 1 7 7 0 00-5.6 1.3 9.2 9.2 0 00-3 5 7.2 7.2 0 016.3 6.4c.1 2-.9 3.6-2.6 4a5.3 5.3 0 01-4.8-1.2 6.8 6.8 0 01-2.2-5.5l-.9.9a6 6 0 00-1.2 4.3c0 .5 0 1 .2 1.5a1.4 1.4 0 01-1 1.7h-.3zm6-9.2l-.1.7a3.9 3.9 0 001.2 3.3 2.8 2.8 0 002.5.6c.2 0 .5 0 .5-.9a4.5 4.5 0 00-4.1-3.7z",fill:"#92D3CA"})),A||(A=z.createElement("path",{d:"M48.6 34s-.7 5.8-6.2 8.3c0 0 6.4 2 7.4 6.8 0 0 2.3-6.9 6-8.2a11.4 11.4 0 01-7.2-7z",fill:"#FEC052"})),y||(y=z.createElement("path",{d:"M93.8 79.5a11.6 11.6 0 013.7 9.9s4.8-5 9.1-3.7c0 0-4.4-5.6-3.6-9.8 0 0-3.6 4.4-9.2 3.6z",fill:"#F6C9BD"})),N||(N=z.createElement("path",{d:"M95.2 11.5a12 12 0 01.3 10.7s6.1-3 9.7 0c0 0-2.4-7-.3-10.5a10.4 10.4 0 01-9.7-.2z",fill:"#FEC052"})),w||(w=z.createElement("path",{d:"M33.2 60.3l4.5-4.2-8-8.5-4.5 5 8 7.7z",fill:"#92D3CA"})),b||(b=z.createElement("path",{d:"M77.6 56.8L126.2 73 81.6 87 36.4 70.8l41.2-14zm0-3l-49.8 17L81.6 90l53.8-17-57.8-19.2z",fill:"#333"})),L||(L=z.createElement("path",{d:"M64.7 73.2c1.2 2.7 1.7 5.7 1.2 8.6a1.6 1.6 0 01-1.5 1.4h-.3a1.7 1.7 0 01-1.2-2 9.9 9.9 0 00-4.7-10.3 7.4 7.4 0 01-1.2 3.7 5.4 5.4 0 01-4.1 2.3c-2 .2-3.7-1.1-4-3.3-.6-2.6.7-6.1 3.5-7.1a5.7 5.7 0 012-.3c-1.4-2.5-5.2-2.5-5.2-2.5a1.7 1.7 0 010-3.4c.3 0 7.3 0 8.6 6.2l.1.5 6.8 6.2zm-10.3-3.7a2.9 2.9 0 00-1 .2c-1.3.4-1.8 2.2-1.6 3.2.2.8.5.7.8.7a2.4 2.4 0 002-1c.4-.9.6-2 .5-3a4.2 4.2 0 00-.7 0z",fill:"#F19928"})),C||(C=z.createElement("path",{d:"M98.5 109.8a1 1 0 01-.8-.4L82.6 90 135 73.9l17.8 13.3a1 1 0 01.4 1 1 1 0 01-.6.7l-53.9 20.8a1 1 0 01-.3 0z",fill:"#F3715D"})),k||(k=z.createElement("path",{d:"M135 74.5l17.6 13.2a.4.4 0 01.1.4.4.4 0 01-.2.3l-53.9 20.8a.5.5 0 01-.1 0 .4.4 0 01-.4-.2L83.5 90.4 135 74.5zm.2-1.3L81.6 89.8l15.6 20a1.6 1.6 0 001.8.4L153 89.4a1.6 1.6 0 00.4-2.7l-18.1-13.5z",fill:"#CB3F27"})),S||(S=z.createElement("path",{d:"M102.2 50l55 17.2-22 6 18.6 14.2-19.8 8.2.1 38.5a3.6 3.6 0 01-2.3 3.4l-48.3 18.9a3.7 3.7 0 01-1.3.2c-.4 0-.9 0-1.3-.2l-48.1-19a3.6 3.6 0 01-2.3-3.3L30 96.8l-16.4-6.3 15-19.7-24.6.6 50.8-16.8 22.7 2 24.6-6.5zm0-2.8a3 3 0 00-.7.1l-24.1 6.5-22.3-2a3.5 3.5 0 00-.2 0 3 3 0 00-1 .1L3.3 68.7a2.8 2.8 0 00-2 3.2 2.8 2.8 0 002.9 2.4l
118.8-.5-11.5 15a2.8 2.8 0 001.3 4.3l14.5 5.7.4 35.4a6.4 6.4 0 004.1 5.9L80 159a6.5 6.5 0 004.7 0l48.2-19a6.5 6.5 0 004.1-6l-.1-36.6 18-7.5a2.8 2.8 0 001.8-2.2 2.8 2.8 0 00-1.1-2.6l-14-10.7 16.4-4.6a2.8 2.8 0 002.1-2.7 2.8 2.8 0 00-2-2.7l-55-17.1a3.1 3.1 0 00-.8-.2z",fill:"#333"})),T||(T=z.createElement("path",{d:"M86.3 47.3a11.6 11.6 0 013.8 9.8s4.7-5 9-3.6c0 0-4.4-5.6-3.6-9.8 0 0-3.5 4.3-9.2 3.6z",fill:"#FEC052"})),P||(P=z.createElement("path",{d:"M122.8 52.6l-3.4-5.2-8.7 7.7 4.2 5.4 8-7.9zm11.6-3.5a12 12 0 011.1 10.6s5.9-3.4 9.7-.9c0 0-2.9-6.6-1-10.4 0 0-4.6 3-9.8.7z",fill:"#84E7D4"})),j||(j=z.createElement("path",{d:"M73.9 85.5l5.7-1.7L76 72.4l-6.1 2.3 4 10.8z",fill:"#92D3CA"})),D||(D=z.createElement("path",{d:"M91 75.3c1.9 0 3.4-1.7 3.4-3.6 0-2-1.5-3.6-3.3-3.6-1.9 0-3.4 1.6-3.4 3.6s1.5 3.6 3.4 3.6z",fill:"#EDC7C8"})))},eh=a(972722),ep=a(104500);class em extends z.PureComponent{render(){var e,t,a,l,r,n,i,o,s;let{pageId:c,authorId:d,data:u,children:h,contentLoading:p,isCollectionArticle:m,collectionId:v,previousNextArticles:f,userId:g,coverImage:E,pageTitle:_,course_url_slug:x,authorProfile:A,approvedForSale:y,router:N,collection:w,isSkillAssessment:b,b2cTrialStats:L,userInfo:C,purchasingFreeCollection:k,isPath:S,contentWidth:T,resolvedPath:P}=this.props,j=null==w?void 0:null===(e=w.instance)||void 0===e?void 0:e.details.path_author_id,D=null==w?void 0:null===(t=w.instance)||void 0===t?void 0:t.details.path_id,M=null==w?void 0:null===(a=w.instance)||void 0===a?void 0:a.b2c_status,I={title:m?_:u.title,tags:u.tags,description:u.summary},z=u.page_table_of_content,H={title:u.title,is_priced:u.is_priced,price:u.price,discounted_price:u.discounted_price,read_time:u.read_time,url:"/page/".concat(d,"/").concat(c),id:c,doc_type:"page",author_id:d,user_id:g,recommendations:u.recommendations,recommended:u.is_recommended_by_reader,owned_by_reader:u.owned_by_reader},G={author_id:u.author_id,author_name:u.author_name,profile_image_serving_url:null==A?void 0:null===(l=A.data)||void 0===l?void 0:l.profile_image_serving_url},F=u.course_title||(null==w?void 0:null===(r=w.instance)||void 0===r?void 0:r.details.title)||"",B=null==w?void 0:null===(n=w.instance)||void 0===n?void 0:n.details.is_mini,Z=I.title?"".concat(I.title," - ").concat(F):"Educative | Untitled",K=m?(null==f?void 0:f.collection_meta)||{}:u,er=(null==K?void 0:K.is_priced)&&0===K.price,en=null,ed=P||(null==N?void 0:N.asPath),em=(0,eo.Z)(ed),ev=null==w?void 0:w.instance.details.learner_tags,ef=(0,es.r)(L,ev,M),eg=null==C?void 0:C.has_valid_enterprise_trial,eE=null==C?void 0:null===(i=C.enterprise)||void 0===i?void 0:i.is_enterprise_trial_readonly_mode,e_=eg||eE,ex=ef&&!(0,$.E6)(C)&&!e_,eA=W.iw.IS_B2B&&!C,ey=null==w?void 0:null===(s=w.instance)||void 0===s?void 0:null===(o=s.details)||void 0===o?void 0:o.title,eN=null,ew=(0,J.e)(S?R.dL.PATH:"").toLowerCase();eN=eA||ex&&!er?"Liking this ".concat(ew,"? Start a free trial to continue learning."):B?"Liking this mini course? Get Educative Unlimited to start learning.":er?"Liking this course? Sign up for free to continue learning.":e_?"This content is not included in your Trial. Upgrade to get access.":"Liking this ".concat(ew,"? Get Educative Unlimited to start learning.");let eb=null==C?void 0:C.eligible_for_enterprise_buy_checkout,eL=!!(null==C?void 0:C.upgrade_from_enterprise_trial_id),eC=(0,q.D2)(e_,eb,eL,C),ek=this.props.isInterviewPrep,eS=b?(0,O.jsx)(et,{message:"Interested in this free skill assessment? Please sign up to attempt now.",illustration:(0,O.jsx)(ec.Z,{}),actionButtons:(0,O.jsx)("button",{className:"contained-primary m-0 w-full",onClick:()=>{this.props.dispatch(ei.n.show(el.kp,{ru:"/collection/page/".concat(d,"/").concat(v,"/").concat(c,"/assessment")}))},children:"Sign Up"})}):(0,O.jsx)(et,{message:eN,illustration:er?(0,O.jsx)(eu,{}):(0,O.jsx)(ec.Z,{}),actionButtons:(0,O.jsx)(O.Fragment,{children:eA?(0,O.jsx)(V(),{prefetch:!1,href:"/trial",legacyBehavior:!0,children:(0,O.jsx)("button",{className:"contained-primary mt-4 w-full px-20 lg:px-28",children:"Start a free trial"})}):er&&!C?(0,O.jsx)("button",{className:"contained-primary m-3 w-full flex-auto",onClick:()=>{this.props.dispatch(ei.n.show(el.ym,{ru:N.asPath}))},children:"Get this course for free"}):eC?(0,O.jsx)(V(),{prefetch:!1,href:eA?"/trial":"/pricing",legacyBehavior:!0,children:(0,O.jsxs)("button",{className:"contained-primary mt-4 w-full px-20 lg:px-28",children:[" ",eC," "]})}):e_?(0,O.jsx)("a",{target:"_blank",href:"https://share.hsforms.com/1_k1SXLT8S0mUeNoZNC7TOw2tlr4",rel:"noopener noreferrer",children:(0,O.jsxs)("button",{className:"contained-primary mt-4 w-full px-20 lg:px-28",children:[" ","Contact Us"," "]})}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(V(),{prefetch:!1,href:"/unlimited",className:"m-2 flex-auto",onClick:()=>(0,Q.Z)("LOCKED_LESSONS","CLICKED_GETSTARTEDCTA_LOCKEDLESSON",S?"Path":"Course"),children:(0,O.jsx)("button",{className:"m-0 w-full ".concat(ex?"outlined-default bg-transparent":"contained-primary"),children:"Get Started"})}),ex&&(0,O.jsx)(V(),{prefetch:!1,href:"/trial?ru=".concat(N.asPath),className:"m-2 flex-auto",onClick:()=>(0,Q.Z)("LOCKED_LESSONS","CLICKED_STARTFREETRIALCTA_LOCKEDLESSON",S?"Path":"Course"),children:(0,O.jsx)("button",{className:"contained-primary m-0 w-full",children:"Start Free Trial"})})]})})});return en=null==g?eS:y||em===R.dL.MODULE||"/path/page/[authorId]/[collectionId]/[pageId]"===N.pathname&&e_?eS:(0,O.jsx)("span",{children:(0,O.jsx)("p",{className:"text-danger text-base",children:"Course not approved!"})}),(0,O.jsx)("div",{className:"w-full",style:{transition:"margin 0.5s"},children:(0,O.jsx)("div",{className:"relative mx-auto mb-24 min-h-full w-full shrink-0 grow basis-auto px-4 transition duration-200 sm:px-10",style:(0,Y.Z)(T),children:!p&&(0,O.jsxs)("div",{className:"px-10 py-0",children:[(0,O.jsxs)(U(),{children:[(0,O.jsx)("title",{children:Z}),(0,O.jsx)("meta",{property:"og:title",content:Z},"title")]}),(0,O.jsx)(X.Z,{pageSummary:I,author:G,collectionName:ey,isCollectionArticle:m,coverImage:E,data:H,isPreview:!0,pathAuthorId:j,pathId:D,children:z&&(0,O.jsx)(eh.Z,{children:z})}),m&&!ek&&(0,O.jsxs)("div",{children:[k?(0,O.jsx)(ea.Z,{}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:"flex flex-col items-center justify-center text-center sm:flex-row sm:text-left",children:en}),(0,O.jsx)(ep.default,{userId:g,authorId:d,pageId:c,collectionId:v,pathAuthorId:j,pathId:D,isDraft:!1,isPreview:!0,previousNextArticles:f,course_url_slug:x})]}),(0,O.jsx)("div",{className:"mb-20 mt-4 flex justify-center border-0 border-t border-solid border-gray-L300 pt-3 dark:border-gray-D1200 sm:justify-end"})]}),h,(0,O.jsx)(ee.Z,{})]})})})}}em.defaultProps={approvedForSale:!0};var ev=(0,I.withRouter)(e=>{let t=(0,er.$)(e.router),a=(0,en.Z)();return(0,O.jsx)(em,{...e,isInterviewPrep:t,resolvedPath:a})}),ef=a(704373),eg=a(813765),eE=a(427659),e_=a(991608),ex=a(351061),eA=a(420426),ey=a(958412),eN=a(395124),ew=a(621062),eb=a(342015),eL=a(878459),eC=a(729133);class ek extends z.Component{componentDidMount(){if(!this.props.isAssessment&&!this.props.isProject){this.fetchContent(this.props);let{author_id:e}=this.props.router.query;!this.isCollectionArticle()&&e&&this.props.authorProfileActions.load(String(e))}}componentDidUpdate(e){var t,a;let{router:l,data:r}=this.props,n=this.props.resolvedPath||l.asPath;(0,eo.Z)(n)!==R.dL.MODULE&&l.query.page_id&&e.data.course_url_slug&&((null===(t=r.collection_id)||void 0===t?void 0:t.toString())===l.query.collectionId&&(null===(a=r.author_id)||void 0===a?void 0:a.toString())===l.query.authorId||l.query.course_url_slug===e.data.course_url_slug)&&![r.item_type,e.data.item_type].includes(G.R.LESSON)&&!l.query.page_url_slug&&l.replace((0,ef.Z)({id:e.router.query.page_id,pageSlug:l.query.page_url_slug,courseUrlSlug:r.course_url_slug,customWorkType:(0,eo.Z)(n)}).viewUrl.href),(e.router.query.page_id!==this.props.router.query.page_id||e.router.query.page_url_slug!==this.props.router.query.page_url_slug)&&this.fetchContent(this.props)}render(){var e,t,a,l,r,n,i,o,s,c,d,u;let{cover_image_id:h,contentLoading:p,showSideBar:m,router:v,b2cTrialStats:f,purchasingFreeCollection:g,contentWidth:E}=this.props,_=this.props.userInfo.userInfoState.data,{page_id:x=null===(t=this.props)||void 0===t?void 0:null===(e=t.pageProps)||void 0===e?void 0:e.page_id,collection_id:A=null===(l=this.props)||void 0===l?void 0:null===(a=l.pageProps)||void 0===a?void 0:a.collection_id,author_id:y=null===(n=this.props)||void 0===n?void 0:null===(r=n.pageProps)||void 0===r?void 0:r.author_id}=this.props.router.query,N=null===(o=this.props.collection)||void 0===o?void 0:null===(i=o.instance)||void 0===i?void 0:i.details;if(null===(c=this.props)||void 0===c?void 0:null===(s=c.data)||void 0===s?void 0:s.owned_by_reader)return v.push("/page/".concat(y,"/").concat(x)),null;let{course_url_slug:w}=this.props.router.query,b=_?_.user_id:null,L=(0,B.Z)(this.isCollectionArticle(),!1,y,x,h,A),C=this.isCollectionArticle()?null==N?void 0:N.approved_for_sale:null===(u=this.props)||void 0===u?void 0:null===(d=u.data)||void 0===d?void 0:d.approved_for_sale;return(0,O.jsxs)("div",{className:"relative flex min-h-full w-full shrink-0 grow basis-auto flex-col items-center",children:[(0,O.jsx)(eE.Z,{loading:p}),(0,O.jsx)(ev,{...this.props,userInfo:_,pageId:String(x),authorId:String(y),collectionId:String(A),isCollectionArticle:this.isCollectionArticle(),userId:b,coverImage:h&&L,course_url_slug:w&&String(w),approvedForSale:C,collectionSideBarVisible:m,b2cTrialStats:f,purchasingFreeCollection:g,contentWidth:E}),(0,O.jsx)("div",{className:"fixed bottom-14 right-0 z-20 mb-8 mr-6 flex flex-col-reverse gap-4",children:(0,O.jsx)(eg.default,{authorId:+y,collectionId:+A,pathId:null==N?void 0:N.path_id,pathAuthorId:null==N?void 0:N.path_author_id,pageId:+x,workName:(null==N?void 0:N.path_title)?(null==N?void 0:N.path_title)+"_"+(null==N?void 0:N.title):null==N?void 0:N.title,workType:this.props.contentType,type:this.props.isPath?this.props.isPrivateContent?F.d.PRIVATE_CONTENT:this.props.pathType===R.Ss.LEARNING_PLAN?F.d.LEARNING_PLAN:F.d.PATH:this.props.isStandaloneModule?F.d.STANDALONE_MODULE:F.d.COURSE})})]})}constructor(...e){super(...e),this.isCollectionArticle=()=>null!=this.props.router.query.collection_id||null!=this.props.router.query.course_url_slug,this.getPagePreview=(e,t)=>(this.props.setPagePreview({loaded:!1,loading:!0}),this.props.widgetsData.reset(),(0,M.Z)({url:"/api/page/".concat(e,"/").concat(t,"/props"),type:"GET"}).then(e=>{let t=JSON.parse(e);this.props.setPagePreview({error:void 0,loading:!1,loaded:!0,data:{...this.props.pagePreview.data,...t}})}).catch(e=>{e.status===e_.Wy.notFoundException&&this.props.setNotFound({notFoundPageStatus:!0}),this.props.setPagePreview({loading:!1,loaded:!1,error:(0,ew.n)(e)})})),this.fetchContent=e=>{var t,a;let{author_id:l,collection_id:r,page_id:n}=e.router.query,{router:i}=e,o=null===(t=this.props.userInfo.userInfoState.data)||void 0===t?void 0:t.user_id,s=e.resolvedPath||(null===(a=e.router)||void 0===a?void 0:a.asPath),c=(0,eo.Z)(s);this.isCollectionArticle()?this.props.loadCollectionArticlePreview({author_id:l,collection_id:r,page_id:n,user_id:o,...e.router.query,router:i,work_type:c},this.props.userCollectionArticle,this.props.userApiKeysLoading,this.props.userApiKeysLoaded):l&&n&&this.getPagePreview(String(l),String(n))}}}let eS=(0,eN.cP)(ek),eT=(0,H.$j)(function(e,t){let{userCollectionArticle:a}=e,{router:{query:l}}=t;return{userCollectionArticle:a,collection_id:l.collection_id,course_url_slug:l.course_url_slug}},function(e){return{dispatch:e}});var eP=(0,I.withRouter)(eT(e=>{var t;let{state:a}=(0,eb.E)(),l=(0,ex.PZ)(),r=(0,ex.lA)(),n=(0,eA.nF)(),i=(0,ey.ZP)().setNotFound,o=(0,eL.h)(e=>e.userConfig),[s,c]=(0,z.useState)({error:null,loading:!1,loaded:!1,data:null}
1),d=e.collection_id||e.course_url_slug?n.collectionArticlePreview:s,u=d.loading,h=!1===d.loading&&!0===d.loaded?d.data.cover_image_id:null,p=!1===d.loading&&!0===d.loaded?d.data:{},m=(0,eC.ZP)(),v=(0,en.Z)();return(0,O.jsx)(eS,{...e,b2cTrialStats:null===(t=o.data)||void 0===t?void 0:t.b2c_trial_stats,loadCollectionArticlePreview:n.loadCollectionArticlePreview,setNotFound:i,pagePreview:s,setPagePreview:c,contentLoading:u,cover_image_id:h,authorProfile:l,authorProfileActions:r,data:p,widgetsData:m,userApiKeysLoading:a.loading,userApiKeysLoaded:a.loaded,resolvedPath:v})}))},793291:function(e,t,a){"use strict";a.d(t,{Z:function(){return h}});var l=a(931549),r=a(44194),n=a(945431),i=e=>{let{priceToShow:t,hasLargeText:a=!1,whiteText:r=!1}=e,n=Number(t),i="";return i=Number.isNaN(n)?"00":n.toFixed(2).split(".")[1],(0,l.jsxs)("span",{className:"flex",children:[(0,l.jsxs)("span",{className:"".concat(a?"text-5xl":"text-4xl"," ").concat(r?"text-white":"text-black"," font-semibold"),children:["$",Math.floor(n)||"0"]}),(0,l.jsxs)("span",{className:"".concat(r?"text-white":"text-black"," ").concat(a?"text-lg":"text-base"," mb-0.5 self-end text-lg font-semibold"),children:[".",i]})]})},o=a(15096),s=a(395124),c=a(286889),d=a(878459),u=a(176644),h=e=>{var t;let{isDiscounted:a=!1,hasLargeText:h=!1,whiteText:p=!1,currency_symbol:m="$",is_currency_symbol_prefix:v=!0,smallDecimalValues:f=!1,showPriceOfPremiumPlan:g=!1,showPriceBeforeRegionalDiscount:E=!1}=e,{userInfoState:_,loadUserInfo:x}=(0,s.su)(),A=!!(null===(t=_.data)||void 0===t?void 0:t.user_id),y=_.loading,N=_.loaded,w=(0,c.Z)(),b=(0,d.h)(e=>{var t,a;return A?null===(t=w.data)||void 0===t?void 0:t.complete_data_loaded:null==e?void 0:null===(a=e.userConfig)||void 0===a?void 0:a.loaded}),L=(0,d.h)(e=>{var t;return A?null==w?void 0:w.loading:null===(t=e.userConfig)||void 0===t?void 0:t.loading}),C=null==w?void 0:w.error,k=(0,d.h)(e=>{var t,a,l;return A&&b?null==w?void 0:null===(t=w.data)||void 0===t?void 0:t.subscriptions:null==e?void 0:null===(l=e.userConfig)||void 0===l?void 0:null===(a=l.data)||void 0===a?void 0:a.subscriptions}),S=(k=k||[]).filter(e=>e.subscription_plan_type===n._.USER&&24===e.validity_months&&e.feature_set_type===o.kZ.STANDARD&&!0===e.is_user_subscribed).length?24:12,T=k.filter(e=>!e.subscription_plan_type||e.subscription_plan_type===n._.USER),P=null==T?void 0:T.find(e=>e.subscription_plan_type===n._.USER&&12===e.validity_months&&e.feature_set_type===o.kZ.STANDARD),j=g?null==T?void 0:T.find(e=>e.subscription_plan_type===n._.USER&&e.validity_months===S&&e.feature_set_type===o.kZ.PREMIUM):P,D=j?a?j.upgrade_monthly_price?j.upgrade_monthly_price:j.monthly_discounted_price:E?j.monthly_discounted_before_regional:j.monthly_original_price:"N/A",O=w.loadCompleteResponse;if(r.useEffect(()=>{!A||y||N||x(!0),!A||b||L||C||O()},[A,y,N,b,L,C,O,x]),h)return(0,l.jsx)(i,{priceToShow:D,whiteText:p});let{units:M,decimal:I}=(0,u.Zq)("string"==typeof D?0:D,m,v);return f?(0,l.jsxs)("span",{className:"font-semibold text-indigo-500 dark:text-indigo-200",children:[(0,l.jsxs)("span",{className:"m-0 text-4xl",children:[M,I===m&&I]}),I!==m&&I&&(0,l.jsxs)("span",{className:"text-2xl",children:[".",I]})]}):(0,l.jsx)(l.Fragment,{children:(0,u.ZP)(D,m,v)})}},898465:function(e,t,a){"use strict";a.d(t,{r:function(){return r}});var l=a(945431);let r=(e,t,a)=>(null==e?void 0:e.is_b2c_trial_active)&&a!==l.Q.UNAVAILABLE&&(a===l.Q.AVAILABLE||e.b2c_trial_categories.some(e=>null==t?void 0:t.includes(e)))},136999:function(e,t,a){"use strict";a.d(t,{$:function(){return l}});let l=e=>"string"==typeof e&&(e.startsWith("/ai-tutor")||e.startsWith("/fenzo-mobile"))},717433:function(e,t,a){"use strict";var l=a(468045);t.ZP=l.ZP},429725:function(e){e.exports={spinner:"Spinner_spinner__fdhm1",autosave:"Spinner_autosave__HQtUr"}},210518:function(e){e.exports={successBorder:"SuccessToast_successBorder__ZQry9",dark:"dark",defaultBackground:"SuccessToast_defaultBackground__HSms9",toastComponent:"SuccessToast_toastComponent__uy9yV",toastComponentBorder:"SuccessToast_toastComponentBorder__UP_ut",crossIcon:"SuccessToast_crossIcon__ktk2k",flex:"SuccessToast_flex__LGQzk",paddingLeft:"SuccessToast_paddingLeft__DsjG_",title:"SuccessToast_title__OnXyG",parentDiv:"SuccessToast_parentDiv__8f5_e",marginTopHalf:"SuccessToast_marginTopHalf__m9aLy",marginTopOne:"SuccessToast_marginTopOne__ikm2_",widthFit:"SuccessToast_widthFit__Vbp8N",width96:"SuccessToast_width96__wKbi5",width60:"SuccessToast_width60__W7j55",toastComponentStyleOne:"SuccessToast_toastComponentStyleOne__TBmxP"}}}]);
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.