PageSourceSearch

https://learning.atheros.ai/_next/static/chunks/7503-f2b7d803df338fcd.js

js atheros.ai collected 2026-10-04 00:09:29 UTC 10,214 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7503],{19569:function(e,n,t){"use strict";t.d(n,{Z:function(){return j}});var a=t(50029),o=t(59499),r=t(64687),_=t.n(r),s=t(67294),c=t(32191),i=t(59037),l=t(56117),u=t(52388),d=t(30055),p=t(93967),h=t.n(p),m=t(12925),M=t(52950),x=t(21061),b=t(96970),E=t(16902);t(77405),t(23483);var C=t(27125),N=t(4587),Z=t(21258),k=t.n(Z),g=t(45685),f=t(85893),w=function(e){var n,t,a,r,_=e.children,s=e.isActive,c=e.onClick,i=e.index,l=e.pages;return(0,f.jsxs)(m.Z,{onClick:c,className:h()((n={},(0,o.Z)(n,k().MenuItem,!0),(0,o.Z)(n,k()["MenuItem--active"],s),n)),justify:E.Zt.SPACE_BETWEEN,align:E._L.FLEX_START,wrap:E.nQ.NO_WRAP,children:[(0,f.jsxs)(N.Z,{className:h()((t={},(0,o.Z)(t,k().MenuItem__ModuleNumber,!0),(0,o.Z)(t,k()["MenuItem__ModuleNumber--active"],s),t)),fontWeight:E.Pm.BOLD,align:E.uJ.LEFT,children:["M",i]}),(0,f.jsx)(N.Z,{className:h()((a={},(0,o.Z)(a,k().MenuItem__Title,!0),(0,o.Z)(a,k()["MenuItem__Title--active"],s),a)),fontWeight:E.Pm.BOLD,align:E.uJ.LEFT,children:_}),(0,f.jsx)(N.Z,{className:h()((r={},(0,o.Z)(r,k().MenuItem__PagesNumber,!0),(0,o.Z)(r,k()["MenuItem__PagesNumber--active"],s),r)),fontWeight:E.Pm.BOLD,align:E.uJ.RIGHT,children:l})]})},P=function(e){var n=e.menuItems,t=e.setCurrentModuleIndex,a=e.currentModuleIndex,r=e.style,_=(e.authUser,e.setLoadingProgress),s=e.setShowChapterMenu,c=(0,b.ZP)().width;return(0,f.jsx)(m.Z,{className:k().EbookChapterMenu,direction:E.zJ.COLUMN,wrap:E.nQ.NO_WRAP,justify:E.Zt.FLEX_START,style:r,children:(0,f.jsxs)(m.Z,{direction:E.zJ.COLUMN,className:k().Content,wrap:E.nQ.NO_WRAP,justify:E.Zt.FLEX_START,children:[(0,f.jsxs)(m.Z,{className:k().MenuHeader,justify:E.Zt.SPACE_BETWEEN,children:[(0,f.jsx)(g.Z,{className:k().MenuHeader__Title,fontWeight:E.rC.BOLD,children:"Content"}),c<1130&&(0,f.jsx)(x.ZP,{className:h()((0,o.Z)({},k().MenuHeader__MenuIcon,!0)),alt:"Close Chapters Menu",title:"Close Chapters Menu",icon:"close-ebook-menu",onClick:function(){s(!1)}})]}),(0,f.jsx)("div",{className:k().Line}),(0,f.jsx)(m.Z,{className:k().MenuItemsWrapper,direction:E.zJ.COLUMN,justify:E.Zt.CENTER,align:E._L.CENTER,children:n.map(function(e,n){return(0,f.jsx)(w,{index:n,onClick:function(){_({loaded:0,total:0}),t(n),s(!1),scrollTo(0,0)},isActive:a===n,pages:(0,d.U2)(e,"pages"),children:(0,d.U2)(e,"name")},(0,d.U2)(e,"id"))})})]})})};P.defaultProps={style:null};var I=t(11948),D=t.n(I);c.default.GlobalWorkerOptions.workerSrc="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/".concat(c.default.version,"/pdf.worker.min.js");var B=function(e){for(var n,t,r,p,N=e.course,Z=e.url,k=e.isPreview,w=e.authUser,I=e.modulePages,B=(0,s.useState)({loaded:0,total:0}),j=B[0],H=B[1],v=(0,s.useState)(0),T=v[0],L=v[1],U=(0,s.useState)(!1),W=U[0],R=U[1],S=(0,s.useState)(0),A=S[0],F=S[1],O=I.length>0?I[A]:[],y=(0,b.ZP)().width,J=(0,d.U2)(N,"courseUrl"),G="E_BOOK"===(0,d.U2)(N,"type")&&(0,d.U2)(N,"ctaWidgetUrl")||k,Q=(0,d.U2)(N,"isUserEnrolled"),Y=(0,d.U2)(N,"disablePreviewDownload",!0),z=k&&Y,X=[],K=1;K<T;K+=1)X.push((0,f.jsx)(i.Z,{className:D().PDF__Page,pageNumber:K+1,loading:(0,f.jsx)(f.Fragment,{})},"page-".concat(K)));console.log({CLOUDFRONT_URL:u.EK});var q=k?"".concat(u.EK).concat((0,d.U2)(N,"previewUrl")):"".concat(u.EK).concat((0,d.U2)(O,"modulePdf"));return console.log({url:Z}),console.log("//cdnjs.cloudflare.com/ajax/libs/pdf.js/".concat(c.default.version,"/pdf.worker.js")),(0,f.jsxs)(m.Z,{className:D().EbookDashboard,wrap:E.nQ.NO_WRAP,align:E._L.FLEX_START,children:[(0,f.jsxs)(m.Z,{className:D().Content,direction:E.zJ.COLUMN,children:[(0,f.jsx)(m.Z,{className:D().Header,children:(0,f.jsxs)(m.Z,{className:D().Header__Row,justify:E.Zt.SPACE_BETWEEN,wrap:E.nQ.NO_WRAP,children:[(0,f.jsx)(g.Z,{className:D().Header__Name,children:(0,d.U2)(N,"shortName","")}),(0,f.jsxs)(m.Z,{className:D().Header__ButtonsRow,wrap:E.nQ.NO_WRAP,autoWidth:!0,gap:"12px",children:[y>1130?(0,f.jsx)(M.Z,{onClick:function(){z||window.open(Z,"_blank")},type:E.Bq.PRIMARY_GRADIENT_BORDER,iconPosition:E.hn.LEFT,iconName:"download-purple",className:h()((n={},(0,o.Z)(n,D().Header__Button,!0),(0,o.Z)(n,D()["Header__Button--preview"],k),(0,o.Z)(n,D()["Header__Button--disabled"],z),n)),children:"Download"}):(0,f.jsx)(m.Z,{className:D().Header__DownloadIconWrapper,onClick:function(){z||window.open(Z,"_blank")},children:(0,f.jsx)(x.ZP,{className:h()((t={},(0,o.Z)(t,D().Header__DownloadIcon,!0),(0,o.Z)(t,D()["Header__DownloadIcon--disabled"],z),t)),alt:"Download",title:"Download",icon:"download-purple",onClick:function(){z||window.open(Z,"_blank")}})}),y<1130&&(0,f.jsx)(x.ZP,{className:h()((r={},(0,o.Z)(r,D().Header__MenuIcon,!0),(0,o.Z)(r,D()["Header__MenuIcon--disabled"],z),r)),alt:"Open Chapters Menu",title:"Open Chapters Menu",icon:"ebook-menu",onClick:function(){R(!W)}})]})]})}),(0,f.jsxs)(m.Z,{className:h()((p={},(0,o.Z)(p,D().PDF,!0),(0,o.Z)(p,D()["PDF--preview"],k),p)),children:[(0,f.jsx)(l.Z,{file:q,loading:(0,f.jsx)(f.Fragment,{}),children:(0,f.jsx)(i.Z,{className:D().PDF__Page,pageNumber:1,loading:(0,f.jsx)(f.Fragment,{})},"page-".concat(1))}),(0,f.jsx)(l.Z,{file:q,onLoadSuccess:function(e){L(e.numPages)},loading:(0,f.jsx)(C.Z,{style:{marginTop:"25vh"},loadingProgress:j}),onLoadProgress:function(e){H({loaded:e.loaded,total:e.total})},children:X}),(0,f.jsx)(m.Z,{className:D().Content__ScrollButtonWrapper,onClick:function(){scrollTo(0,0)},children:(0,f.jsx)(x.ZP,{className:D().Content__ScrollButton,alt:"Open Chapters Menu",title:"Open Chapters Menu",icon:"chevron-double-up"})})]})]}),y>=1130&&(0,f.jsx)(m.Z,{className:D().ChapterMenu,wrap:E.nQ.NO_WRAP,children:(0,f.jsx)(P,{menuItems:I,currentModuleIndex:A,setCurrentModuleIndex:F,authUser:w,setLoadingProgress:H,setShowChapterMenu:R})}),y<1130&&W&&(0,f.jsx)(m.Z,{className:D().ChapterMenu,wrap:E.nQ.NO_WRAP,children:(0,f.jsx)(P,{menuItems:I,currentModuleIndex:A,setCurrentModuleIndex:F,authUser:w,setLoadingProgress:H,setShowChapterMenu:R,showChapterMenu:W})}),(G||k)&&(0,f.jsx)(M.Z,{className:D().Preview__FixedButton,type:E.Bq.PRIMARY_GRADIENT,buttonSize:E.tS.SMALL,onClick:(0,a.Z)(_().mark(function e(){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,d.U2)(N,"ctaWidgetUrl")){e.next=3;break}return window.location.replace("".concat(u.YS).concat((0,d.U2)(N,"ctaWidgetUrl"))),e.abrupt("return");case 3:if(w){e.next=6;break}return window.location.replace("".concat(u.YS,"/sign-up")),e.abrupt("return");case 6:if(!Q){e.next=9;break}return window.location.replace("".concat(u.YS,"/courses/").concat(J)),e.abrupt("return");case 9:window.location.replace("".concat(u.YS,"/course-detail/").concat(J,"#pricing"));case 10:case"end":return e.stop()}},e)})),children:Q?(0,d.U2)(N,"ctaWidgetText","Full E-book"):(0,d.U2)(N,"ctaWidgetText","Get Full Access")})]})};B.defaultProps={isPreview:!1};var j=B},4587:function(e,n,t){"use strict";var a=t(59499);t(67294);
1var o=t(93967),r=t.n(o),_=t(16902),s=t(35447),c=t.n(s),i=t(85893),l=function(e){var n,t=e.id,o=e.children,s=e.style,l=e.fontWeight,u=e.className,d=e.align;return(0,i.jsx)("span",{id:t,className:r()((n={},(0,a.Z)(n,c()["caption-text"],!0),(0,a.Z)(n,c()["caption-text--left"],d===_.uJ.LEFT),(0,a.Z)(n,c()["caption-text--center"],d===_.uJ.CENTER),(0,a.Z)(n,c()["caption-text--right"],d===_.uJ.RIGHT),(0,a.Z)(n,c()["caption-text--bold"],l===_.Pm.BOLD),(0,a.Z)(n,c()["caption-text--medium"],l===_.Pm.MEDIUM),(0,a.Z)(n,c()["caption-text--regular"],l===_.Pm.REGULAR),(0,a.Z)(n,u,!!u),n)),style:s,children:o})};l.defaultProps={align:_.uJ.CENTER,fontWeight:_.Pm.REGULAR,style:null},n.Z=l},11948:function(e){e.exports={EbookDashboard:"E-BookDashboard_EbookDashboard__GkBUs",Header:"E-BookDashboard_Header__PSiBT",Header__EmptyElement:"E-BookDashboard_Header__EmptyElement__u_Yd6",Header__Row:"E-BookDashboard_Header__Row__Mv7Qf",Header__Name:"E-BookDashboard_Header__Name__YeHb_",Header__Button:"E-BookDashboard_Header__Button__iVC13","Header__Button--disabled":"E-BookDashboard_Header__Button--disabled__xkNLz",Header__DownloadIconWrapper:"E-BookDashboard_Header__DownloadIconWrapper__n__p7",Header__DownloadIcon:"E-BookDashboard_Header__DownloadIcon___B2W1","Header__DownloadIcon--disabled":"E-BookDashboard_Header__DownloadIcon--disabled__rFf7J",Header__MenuIcon:"E-BookDashboard_Header__MenuIcon__wa9e9","Header__MenuIcon--disabled":"E-BookDashboard_Header__MenuIcon--disabled__OX1AW",Content:"E-BookDashboard_Content___3LWL",Content__ScrollButtonWrapper:"E-BookDashboard_Content__ScrollButtonWrapper__1etGS",Content__ScrollButton:"E-BookDashboard_Content__ScrollButton__Ainqi",PDF:"E-BookDashboard_PDF__FHZ8w","PDF--preview":"E-BookDashboard_PDF--preview__0x3FC",PDF__Page:"E-BookDashboard_PDF__Page__fft1a",Preview__FixedButton:"E-BookDashboard_Preview__FixedButton__4kjU9",ChapterMenu:"E-BookDashboard_ChapterMenu__6xoNZ"}},21258:function(e){e.exports={EbookChapterMenu:"EbookChapterMenu_EbookChapterMenu__GuWTL",Line:"EbookChapterMenu_Line__1h7LB",MenuHeader:"EbookChapterMenu_MenuHeader__cQ6oN",MenuHeader__MenuIcon:"EbookChapterMenu_MenuHeader__MenuIcon__V0oAe","MenuHeader__MenuIcon--disabled":"EbookChapterMenu_MenuHeader__MenuIcon--disabled__MUUyO",MenuItemsWrapper:"EbookChapterMenu_MenuItemsWrapper__tI3r7",MenuItem:"EbookChapterMenu_MenuItem__BJ4Aa",MenuItem__ModuleNumber:"EbookChapterMenu_MenuItem__ModuleNumber__3q8ZA","MenuItem__ModuleNumber--active":"EbookChapterMenu_MenuItem__ModuleNumber--active__0mOeh",MenuItem__Title:"EbookChapterMenu_MenuItem__Title__diKcI","MenuItem__Title--active":"EbookChapterMenu_MenuItem__Title--active__Zc2yW",MenuItem__PagesNumber:"EbookChapterMenu_MenuItem__PagesNumber__UNM9t","MenuItem__PagesNumber--active":"EbookChapterMenu_MenuItem__PagesNumber--active__MIabk"}},35447:function(e){e.exports={"caption-text":"CaptionText_caption-text__GJy5J","caption-text--left":"CaptionText_caption-text--left__gSiFg","caption-text--center":"CaptionText_caption-text--center__J3v4X","caption-text--right":"CaptionText_caption-text--right__vHz_0","caption-text--bold":"CaptionText_caption-text--bold__Xhvhc","caption-text--medium":"CaptionText_caption-text--medium___Ab6s","caption-text--regular":"CaptionText_caption-text--regular__tBSxG"}},93414:function(){},70172:function(){},2001:function(){},33779:function(){}}]);

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.