PageSourceSearch

https://piacademy.co.uk/_next/static/chunks/8063.5014d7cbfbbf87cc.js

js piacademy.co.uk collected 2026-10-06 18:31:57 UTC 8,578 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8063],{88063:(e,t,s)=>{s.r(t),s.d(t,{default:()=>f,truncateText:()=>x});var l=s(69656),a=s(3050),i=s(51928),n=s(27682),r=s(26133),d=s(79157),c=s.n(d),o=s(13149),m=s(31223);function x(e,t){return e.length>t?e.substring(0,t)+"...":e}let f=function(e){var t,s;let{title:d,slug:x,regular_price:f,batch_schedule:g,price:u,parent_category:h,sub_category:j,product_media:p,video_courses:N,start_date:v,course_inactive_text:b,mock_exams:w,price_per_hour:y,course:k,bundles:E,covers:_,suitable_for:C,course_length:L,bullet_points:S,mock_type:D,each_mock_duration:U,no_of_mocks:A,index:B=0}=e,F=w?"Register Now":N||E&&(x===n.Qu.ALL_IN_ONE_BUNDLE||x===n.Qu.DIAMOND_BUNDLE)?"Buy Now":k&&!v?"Join Waiting List":"Book Your Seat";return(0,l.jsxs)(c(),{href:"/".concat(j||h,"/").concat(x),className:"w-full flex flex-col  md:grid md:grid-cols-[1fr_2fr] md:grid-rows-[auto_auto] md:grid-flow-col lg:flex lg:flex-row justify-center items-start border-2 border-border rounded-xl cursor-pointer h-full group ".concat(B%2==0?"bg-violet":"bg-orange"," md:bg-transparent"),children:[(0,l.jsx)("div",{className:"w-full lg:w-1/3 h-full  rounded-l-2xl lg:rounded-r-none rounded-r-xl rounded-b-none md:block md:row-span-2 md:order-first hidden sm:hidden ",children:(0,l.jsx)(r.default,{src:"".concat("https://img.piacademy.co.uk/").concat(null==p?void 0:null===(t=p[0])||void 0===t?void 0:t.url),alt:d.replaceAll("-"," ")+" - "+(null==p?void 0:null===(s=p[0])||void 0===s?void 0:s.type),width:500,height:500,className:"w-full h-full  rounded-tl-xl rounded-bl-xl lg:h-full  lg:rounded-tr-none rounded-tr-none",sizes:"16vw"})}),(0,l.jsxs)("div",{className:"lg:h-full  lg:bg-gray h-fit w-full  px-6 lg:px-12 md:py-6 pt-4 lg:py-4 justify-center items-start gap-4 lg:gap-6 inline-flex flex-col md:row-start-1 md:row-end-1 md:order-2",children:[(0,l.jsx)("h2",{className:"text-heading  mb-4 sm:mb-0  lg:mb-4  text-2xl lg:text-4xl font-bold leading-8 lg:leading-leadingH2 text-center m-auto md:m-0 md:text-left lg:text-left",children:function(e){var t;let s=e.match(/\(([^)]+)\)/);if(s&&(null==s?void 0:null===(t=s[0])||void 0===t?void 0:t.length)>=10){let t=e.slice(0,s.index).trim(),a=null==s?void 0:s[0];return(0,l.jsxs)(l.Fragment,{children:[t,(0,l.jsx)("br",{}),a]})}return e}(d)}),w?(0,l.jsxs)("div",{className:"flex md:flex-col w-full  md:gap-4 lg:gap-6 gap-6 flex-row",children:[(0,l.jsxs)("div",{className:"w-full justify-end md:justify-start items-start gap-2 flex",children:[(0,l.jsx)(o.Ohp,{className:"w-6 h-6 relative text-link shrink-0"}),(0,l.jsxs)("div",{className:"justify-start items-start gap-1 flex",children:[(0,l.jsxs)("div",{className:"hidden md:block text-subheading text-base font-normal leading-normal text-nowrap",children:["Each ",D||"Mock"," Duration:"]}),(0,l.jsx)("div",{className:"flex justify-start items-start gap-2",children:(0,l.jsx)("div",{className:"self-stretch text-heading text-base font-semibold leading-normal",children:U||"1 hr"})})]})]}),(0,l.jsxs)("div",{className:"w-full  justify-start items-start gap-2 flex",children:[(0,l.jsx)(r.default,{src:"".concat("https://img.piacademy.co.uk/","globals/icons/courses.svg"),alt:"Course Certification",height:25,width:25,className:"text-link w-8 h-8 -m-1"}),(0,l.jsxs)("div",{className:"justify-start items-start gap-1 inline-flex",children:[(0,l.jsxs)("div",{className:"hidden md:block text-subheading text-base font-normal leading-normal text-nowrap",children:["No. of ",D?"".concat(D,"s"):"Mocks",":"]}),(0,l.jsx)("div",{className:"self-stretch h-6 justify-start items-start gap-0.5 flex text-nowrap",children:(0,l.jsxs)("div",{className:"text-heading flex gap-1 text-base font-semibold leading-normal",children:[A||2," ",(0,l.jsx)("span",{className:"block md:hidden",children:"Mocks"})]})})]})]})]}):N?(0,l.jsx)("div",{className:"flex flex-col justify-start items-start gap-4",children:null==S?void 0:S.map((e,t)=>(0,l.jsxs)("div",{className:"flex justify-start items-start gap-2",children:[(0,l.jsx)(m.MSO,{className:"min-w-6 min-h-6 relative text-link"}),(0,l.jsx)("div",{className:"text-heading text-base lg:text-lg font-medium leading-normal",children:e})]},t))}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex w-full justify-start items-start gap-2",children:[(0,l.jsx)(o.JXP,{className:"w-6 h-6 relative text-link"}),(0,l.jsxs)("div",{className:"self-stretch justify-start items-start gap-1 flex",children:[(0,l.jsx)("div",{className:"hidden md:block text-subheading text-base font-normal leading-normal text-nowrap",children:"Suitable For:"}),(0,l.jsxs)("div",{className:"text-heading text-base font-medium leading-normal text-nowrap",children:[E||k?null==C?void 0:C.join(", "):null==g?void 0:g.suitable_for.map(e=>e.replace(/students/i,"")).join(", ")," ","Students"]})]})]}),(0,l.jsxs)("div",{className:"w-full justify-start items-start gap-2 flex",children:[(0,l.jsx)(r.default,{src:"".concat("https://img.piacademy.co.uk/","globals/icons/courses.svg"),alt:"Course Certification",height:25,width:25,className:"text-link w-8 h-8 -m-1"}),(0,l.jsxs)("div",{className:"justify-start items-start gap-1 inline-flex",children:[(0,l.jsx)("div",{className:"hidden md:block text-subheading text-base font-normal leading-normal text-nowrap",children:x===n.nu.ELEVEN_PLUS_READING_CLUB?"Covers:":k?"Course Length:":E?"Covers:":"Join at:"}
1),(0,l.jsx)("div",{className:"self-stretch h-auto sm:h-6 justify-start items-start gap-0.5 flex text-wrap",children:(0,l.jsx)("div",{className:"text-heading text-base font-medium leading-normal",children:x===n.nu.ELEVEN_PLUS_READING_CLUB?"1 Year":E?_:L})})]})]}),(0,l.jsxs)("div",{className:"w-full justify-start items-start gap-2 flex",children:[(0,l.jsx)(o.Ohp,{className:"w-6 h-6 relative text-link shrink-0"}),(0,l.jsxs)("div",{className:"justify-start items-start gap-1 flex",children:[(0,l.jsx)("div",{className:"hidden md:block text-subheading text-base font-normal leading-normal text-wrap",children:x===n.nu.ELEVEN_PLUS_READING_CLUB?"Every Week:":k?"Starting from:":E?"Join at:":"Covers:"}),k&&(0,l.jsx)("div",{className:"flex justify-start items-start gap-2",children:(0,l.jsx)("div",{className:"self-stretch text-heading text-base font-medium leading-normal",children:x===n.nu.ELEVEN_PLUS_READING_CLUB?"Tuesday & Saturday":k?v?(0,i.eC)(v||""):b||"":""})}),E&&(0,l.jsx)("div",{className:"flex justify-start items-start gap-2",children:(0,l.jsx)("div",{className:"self-stretch text-heading text-base font-medium leading-normal",children:"Anytime"})})]})]})]})]}),(0,l.jsxs)("div",{className:"h-full  lg:w-1/3 w-full p-6 pt-4 sm:pt-0 lg:pt-6 lg:flex-col md:flex-col flex-col lg:justify-center justify-center items-center gap-4 lg:gap-6 inline-flex  border-border lg:border-t-0 md:row-start-2 md:row-end-2 md:order-3",children:[(0,l.jsxs)("div",{className:"w-full  md:grid md:grid-cols-2 md:w-full gap-3 lg:flex lg:flex-col",children:[(0,l.jsxs)("div",{className:"lg:flex-col  flex-row justify-center sm:justify-start lg:justify-center items-center gap-3 py-2 md:py-0 lg:py-0 flex",children:[(k||E)&&y&&(0,l.jsx)("div",{className:"text-label text-lg font-medium leading-7",children:"Starts at"}),(0,l.jsxs)("div",{className:"flex justify-start items-center gap-2",children:[N&&(0,l.jsxs)("span",{className:"text-subheading text-base font-semibold line-through",children:["\xa3",f]}),(0,l.jsxs)("div",{className:"flex gap-1 justify-end items-center",children:[(0,l.jsxs)("span",{className:"text-2xl lg:text-4xl font-bold md:text-4xl text-heading",children:["\xa3",y||u]}),y&&(0,l.jsx)("sup",{className:"text-base pt-2 lg:text-lg font-medium leading-7 text-heading",children:"/hour"})]})]})]}),(0,l.jsx)("div",{className:"flex   justify-center sm:justify-end lg:justify-center items-center",children:(0,l.jsx)(a.E,{className:"  flex-row bg-action !text-base px-2 md:px-4  whitespace-nowrap h-12 py-3  lg:px-16 product-add-to-basket group-hover:scale-105 group-hover:bg-action_hover transition-all duration-300 ease-in-out text-background text-center  w-[70%] sm:w-full flex justify-center gap-3 items-center leading-tight",iconName:w?"FiShoppingCart":N?"FiShoppingCart":k&&!v?"":"FiShoppingCart",iconColor:"text-background",children:F})})]}),(0,l.jsxs)("div",{className:"justify-start  items-center gap-2 inline-flex md:w-full md:justify-center",children:[(0,l.jsx)("div",{className:"text-center text-link text-base font-semibold leading-normal",children:w?"Check Mock Details":N?"Check Details":"Check Course Plan"}),(0,l.jsx)(o.dyV,{className:"w-5 h-5 relative text-link"})]})]})]})}}}]);

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.